Re: [Svxlink-devel] Qtel and JACK (or ALSA)
Brought to you by:
sm0svx
From: Stuart L. <red...@ge...> - 2008-11-04 12:26:28
|
Stuart Longland wrote: > Tobias Blomberg wrote: >> Yes, I've been thinking of using PortAudio as well. I don't know if it also >> supports OSS. That would be nice. I actually have use for it on a system >> where only OSS audio drivers are available. >> >> In theory, just replace Async::AudioDevice (async/audio/AsyncAudioDevice.*) >> with your own implementation. >> >> 73's de SM0SVX / Tobias > Well... I've had a stab at it. This implementation just talks to JACK directly. It is a Work In Progress, ugly hack... but it works. The device name now becomes the client name in JACK with two ports, rx and tx. They are not connected to any outside ports by default, so you'll need qjackctl or similar to connect them. The system is restricted to mono... but will adapt the sample rate used in svxlink to that used by JACK (using libsamplerate). I was able to connect to EchoLink using Qtel, connect the rx to my headset, tx to Amarok, and transmit a short segment from the WIA QNews[1], stop playback -- and I heard that segment played back through the headset. I'd appreciate feedback on the patch and where development should move from here. Theoretically it is possible to implement any kind of callback-based driver here, including PortAudio and ALSA. I just implemented JACK since it was there, I already use it, and gives us a lot of flexibility. -- Stuart Longland (aka Redhatter, VK4MSL) .'''. Gentoo Linux/MIPS Cobalt and Docs Developer '.'` : . . . . . . . . . . . . . . . . . . . . . . .'.' http://dev.gentoo.org/~redhatter :.' I haven't lost my mind... ...it's backed up on a tape somewhere. 1. http://www.wiaq.com/ftp/ -- this might be useful for WIA broadcasters if their repeater supports EchoLink. |