Re: Callback routines
Re: Callback routines
- Subject: Re: Callback routines
- From: work <email@hidden>
- Date: Mon, 05 Jan 2009 00:03:36 +1100
If you want to keep all of your code in ObjC, then you shouldn't be
using audio units render operations directly. Its fine to use Obj C
code with the audio queue callbacks as long as the buffer sizes are
reasonably sized
Bill
On Dec 26, 2008, at 10:33 AM, Niklas Saers wrote:
Thanks a bunch. :-) My wish for Snow Leopard is Cocoa all around,
very much including the audio APIs :-)
Cheers
Nik
On Dec 25, 2008, at 11:31 PM, tahome izwah wrote:
The CB function has to be C but you can pass along a pointer to your
object in void *inUserData that you can use to access your object or
call member functions.
HTH,
--th
2008/12/25 Niklas Saers <email@hidden>:
Hi,
for Audio Queue or the RemoteIO AudioUnit like Marc recommended, a
callback
routine is required, and all examples use a C callback function.
Is there
any way that I can set a callback function pointer to the function
of an
object and keep it nice and ObjC'ish?
Cheers, and merry christmas :-)
Nik
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden