I'm using AudioQueuePause/AudioQueueStart to implement pausing a
recording session. Simply pausing & (re)starting the recording is not
producing the results that I expected.
Here is a typical session:
Start recording for about 5 seconds.
Pause recording for about 5 seconds.
Resume recording for another 5 seconds.
Using the simulator that accompanies the development environment for
Apple's new communications device,
on playback, I hear the first 5 seconds, followed by about the last
1/2 sec of the audio repeated, followed by the resumed audio. However,
when the same sequence is followed on the actual device, the repeated
audio is around 3 seconds. Why, once the audio data has been written
to the file, does it still remain in the buffer(s) to be written
again? I have tried using AudioQueueFlush, but to no effect.
So, is there a problem with my implementation, or is there a problem
with the AudioQueue? Do I need to manage the contents of the buffers
somehow when AudioQueuePause is called?
Thanks for any insight.
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