[Ham-Mac] Re: Portable Sound APIs was: Mac Software? ? ?

Dennis Hudson [email protected]
Wed, 11 Jun 2003 09:22:27 -0400


Yep, I started poking at your source last night. I double clicked on 
some of the .h and .cpp files and this neat program called project 
builder came up. Looks like a neat tool to code with. I didn't see any 
soundcard.h. So, I doubt this would be a good "starter" program for me 
to learn C++. Looks like the tools are there, we just need another 
brave soul.

Thanks for your great work on EchoMac. I certainly wasn't suggesting 
that you work on LinWSJT, but I knew you could let us know about the 
audio problems, as I guessed it was the bulk of the coding.


On Tuesday, Jun 10, 2003, at 20:34 US/Eastern, Steven M.Palm wrote:

>
> On Tuesday, June 10, 2003, at 05:28  PM, Tom Dove wrote:
>> Many Linux programs are easy to port over to Apple X11 on Mac OSX, 
>> but some can be tough. If WSJT uses sound I/O on Windows, it will 
>> have a soundcard.h file that's specific to the Windows system. Apple 
>> X11 on Mac OSX uses esound, instead (the file will be esd.h). Since 
>> many Linux programs can be compiled to use esound, the porting may 
>> not be too difficult; everything depends on the specific program. In 
>> DarwinPSK, for example, Volker had to rewrite everything to use 
>> esound for sound I/O, but that works fine on Linux now, too.
>
>  An alternative is to port it to use a different API, like portaudio.  
>  http://www.portaudio.com
>
>  I used PortAudio for EchoMac, because it was pretty straightforward 
> to move the soundcard.h stuff over, and also it had the advantage of 
> then calling CoreAudio stuff directly on the Mac, OSS on Linux, etc... 
>  It wasn't going through yet another program like the esd daemon to 
> get you to the hardware.
>
>  I've had my fun porting from Linux to the Mac, it's time for someone 
> else to have fun. All the source code I used in EchoMac is available, 
> and the bundle includes the EchoMac GUI, the portaudio stuff, and the 
> echoLinux code modified to use portAudio. It should be enough to get 
> someone started in some direction or other... ;-)
> \