• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Callback routines
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Callback routines


  • Subject: Re: Callback routines
  • From: Niklas Saers <email@hidden>
  • Date: Fri, 26 Dec 2008 00:33:46 +0100

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>)

  • Prev by Date: Re: Callback routines
  • Next by Date: Re: Objective C and C++
  • Previous by thread: Re: Callback routines
  • Next by thread: cross-platform audio software dev
  • Index(es):
    • Date
    • Thread