Re: only on cocoa?
Re: only on cocoa?
- Subject: Re: only on cocoa?
- From: James McCartney <email@hidden>
- Date: Sat, 11 Aug 2001 12:45:23 -0500
on 8/11/01 3:20 AM, email@hidden at email@hidden wrote:
>
Forgive me for beating all the possible permutations out of this, but
>
I'm wondering how to use the CoreAudio API through Obj-C. There is the
>
straight C/C++ Carbon code and the Java version of the functionality but I
>
don't see anything that looks like an Obj-C API (i.e. NSAUGraph). I
>
haven't tried combining Obj-C code with C++ (and I've heard there are
>
problems with that, such as name clash on "class") so any advice or a
>
helpful hyperlink would be appreciated.
>
Thanks,
Obj-C is C and the API is C, so you just make C calls.
For an example see my simple Cocoa demo app :
http://www.audiosynth.com/sinewavedemo.html
--- james mccartney email@hidden <
http://www.audiosynth.com>
SuperCollider - a real time synthesis programming language for the PowerMac.
<
ftp://www.audiosynth.com/pub/updates/SC2.2.10.sea.hqx>