Re: only on cocoa?
Re: only on cocoa?
- Subject: Re: only on cocoa?
- From: William Stewart <email@hidden>
- Date: Sat, 11 Aug 2001 15:19:11 -0700
On Saturday, August 11, 2001, at 10:45 AM, James McCartney wrote:
>
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,
Another point of clarity here - the CoreAudio API is NOT a Carbon API.
Carbon is a compatibility set of APIs that run on both classic MacOS
systems and Mac OS X.
Core Audio is a Mac OS X specific API - a C-API that can be used by any
Mac OS X native apps (whether they are Cocoa, Carbon, command line, Java)
Bill
>
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>
>
_______________________________________________
>
coreaudio-api mailing list
>
email@hidden
>
http://www.lists.apple.com/mailman/listinfo/coreaudio-api