• 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: MusicSequencerUserCallback - calling objective-c method
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: MusicSequencerUserCallback - calling objective-c method


  • Subject: RE: MusicSequencerUserCallback - calling objective-c method
  • From: GW Rodriguez <email@hidden>
  • Date: Wed, 8 Dec 2010 19:21:11 -0500

Simone,

This has been very helpful.  Two questions though, you suggest this line of code:

MusicSequenceSetUserCallback (sequence, MyCallback, myObj);

For the second argument I have to cast it to MusicSequenceUserCallback right?  Also for the third argument when I put myObj (but this is name of the instance of the class I created) I get a fail on the complier that says it was not declared in this scope.  Since the set user callback function is within the @implementation section and the callback declaration is outside of the @implementation section, how do I pass the *void inClientData?

Thanks,
--
GW Rodriguez
 _______________________________________________
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: MusicSequencerUserCallback - calling objective-c method
      • From: Simone Tellini <email@hidden>
  • Prev by Date: Tearing Down remoteIO unit - PerformThru errors
  • Next by Date: Re: MusicSequencerUserCallback - calling objective-c method
  • Previous by thread: Re: MusicSequencerUserCallback - calling objective-c method
  • Next by thread: Re: MusicSequencerUserCallback - calling objective-c method
  • Index(es):
    • Date
    • Thread