• 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: "tahome izwah" <email@hidden>
  • Date: Thu, 25 Dec 2008 23:31:56 +0100

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

  • Follow-Ups:
    • Re: Callback routines
      • From: Niklas Saers <email@hidden>
References: 
 >Callback routines (From: Niklas Saers <email@hidden>)

  • Prev by Date: Callback routines
  • Next by Date: Re: Callback routines
  • Previous by thread: Callback routines
  • Next by thread: Re: Callback routines
  • Index(es):
    • Date
    • Thread