Re: Mac OS X Carbon test programs for sfront

From: Richard Dobson (RWD@cableinet.co.uk)
Date: Mon Oct 08 2001 - 19:37:26 EDT


I have tried to build the first program (tone) using Project Builder
running OS X 10.1 (installed on a 400MHz iMac). After a small amount of
fiddling (being very new to both) I got it compile EXCEPT for one
undefined function: NewSndCallBackProc, which I can find no sign of in
Carbon (not in the API list), or anywhere else for that matter - it
appears not to be supported.

It seems to me that for OS X, you might as well go straight to CoreAudio
(there is PortAudio support for that - dunno how complete or tested it
is), and not bother with Carbon at all; after all, there is not much of
a command-line interface in OS 9, and the distance between OS 9 and OS X
can only increase with time.

Richard Dobson

John Lazzaro wrote:
>
> Hi everyone,
>
> If you're running Mac OS X, and you've got the
> developer system installed, you should be able to test
> out a set of sa.c files sfront created, that does audio
> I/O via the Carbon support for Sound Manager (this code
> was borrowed from portaudio.com, like the Windows drivers
> in sfront 0.76 were).
>
> If you're able to do this sort of test, you can
> download the set of sa.c files from:
>
> http://www.cs.berkeley.edu/~lazzaro/files/mactest/mactest.tar.gz
>
> There's a README that describes the test files.
> Thanks in advance!
>



This archive was generated by hypermail 2b29 : Mon Jan 28 2002 - 11:46:43 EST