Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Callback routines
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Callback routines



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
References: 
 >Callback routines (From: Niklas Saers <email@hidden>)
 >Re: Callback routines (From: "tahome izwah" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.