• 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: Thread count strangeness using PlayAudioFile sample code
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Thread count strangeness using PlayAudioFile sample code


  • Subject: Re: Thread count strangeness using PlayAudioFile sample code
  • From: Robert Martin <email@hidden>
  • Date: Mon, 11 Apr 2005 09:01:26 -0400

Thanks. I'd like to use it, but I'm having trouble figuring out how to add callback notification into the newer AudioFileTools architecture. (I'm a novice at this sort of stuff).

There doesn't seem to be an equivalent to the old AFP SetNotifier() and DoNotification() methods in the new CAAudioFilePlayer class. I looked through its inheritance chain, and couldn't find anything upstream either.

Am I looking in the wrong place? Is there a simple way to do this, or do I have to poll ? I'd like to be notified when play has stopped, and each time the player processes a buffer.


On Apr 4, 2005, at 6:06 PM, James McCartney wrote:

The most recent SDK includes a folder named AudioFileTools which includes program named afplay. The code in afplay is a more robust file player.

-- james mccartney -- apple core audio


_______________________________________________ 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: 
 >Re: Thread count strangeness using PlayAudioFile sample code (From: Evan Gross <email@hidden>)
 >Re: Thread count strangeness using PlayAudioFile sample code (From: Robert Martin <email@hidden>)
 >Re: Thread count strangeness using PlayAudioFile sample code (From: James McCartney <email@hidden>)

  • Prev by Date: Convering CoreAudio renderer to AUHAL renderer.
  • Next by Date: AudioUnitScheduleParameters
  • Previous by thread: Re: Thread count strangeness using PlayAudioFile sample code
  • Next by thread: Chain of Audio Units and Sample Rate
  • Index(es):
    • Date
    • Thread