From: Stelios Bounanos Subject: Re: Amateur Radio -> MacOS? Date: Fri, 01 Feb 2008 00:10:16 +0000 Message-ID: <8763x9zgd3.wl@obsidian.enotty.net> References: <1201798150.47a1fc062d0bc@mgtmail.com> <20080131184108.GR2537@mea-ext.zmailer.org> <47A230F8.5030403@sral.fi> <47A24377.8020905@sral.fi> <20080131221001.GD5891@charybde.local> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Return-path: In-Reply-To: <20080131221001.GD5891@charybde.local> Sender: linux-hams-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Stephane Fillod , Linux HAMs Cc: Tomi Manninen >>>>> On Thu, 31 Jan 2008 23:10:01 +0100, Stephane Fillod >>>>> was rumoured to have said: > Tomi Manninen skribis: >> Frank Brickle wrote: >> >>> Applications that use JACK move smoothly between Linux and OSX. They can >>> also take good advantage of FireWire sound systems like the Edirol FA-66. >>> Please see http://dttsp.org/wiki for an example of an SDR application that >>> runs on Linux and OSX without pain. >> >> Yes, but IIRC, Jack is also callback based *) and that is the key in my >> argument. Doable but non-trivial changes are needed. That requires >> someone with the motivation and hardware to do it. >> >> This is not meant to be an excuse why ham radio software is lacking >> from OSX (and I don't even know if it really is), just a possible >> explanation why at least some soundcard based Linux ham radio programs >> are not trivial to port to OSX. > What about Libjackasyn[1] and jacklaunch? > Does PortAudio[2], which is also callback based, have a similar library? IMO, PortAudio would be a much better option. PortAudio is callback-based but, in v19, also has a blocking API. Fldigi uses it and is able to access OSS, ALSA, and JACK. I understand that PortAudio also supports the OSX sound system (CoreAudio?). JACK support is a big bonus because it makes fldigi usable with DttSP[0] and, to a lesser extent, because it makes it easy to run multiple instances (to decode more than one signal at the same time and test / experiment). The move from OSS to blocking PortAudio was fairly straightforward in fldigi and I would expect this to be the case for gMFSK also. There are a couple of things to look out for. First, some sound system features have been placed in PortAudio's "Host API extensions" in such a way that they are actually unusable with dynamic linking. This has not been a problem for fldigi, as there was no need to use those extensions (though setting the JACK client name would be nice). Second, the OSS style of opening/closing the device for capture/playback works fine but has an undesirable side effect with Portaudio/JACK streams -- the port bindings are reset. [0] http://dttsp.org/wiki/index.php?title=Main_Page 73, Stelios M0GLD. -- Stelios Bounanos perl -e 'print+reverse"t\nney.ttno\@esb"=~/(..)/sg' #key: 0xE88A7F61