Audio Queue Buffer Sync with Array
Audio Queue Buffer Sync with Array
- Subject: Audio Queue Buffer Sync with Array
- From: Richard Oths <email@hidden>
- Date: Thu, 06 Jun 2013 11:31:21 -0500
Hello,
Trying to work out the following logic running Audio Queue in conjunction with MPMediaPlayer audio. The queue is buffered with 25ms worth of audio samples from a predefined array. What I'd like to do is simultaneously drop those 25ms samples into a loop and test for certain amplitudes(they are test sine waves). If the condition is met, it then triggers a hardware event. But the timing of the MPMediaPlayer and buffered Audio Queue is crucial.
Basically the thought process is, by the time the loop evaluates the buffered samples the 25ms will pass very quickly and it will be a near sync situation. Does this sound reasonable?
Many thanks
_______________________________________________
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