• 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: Problem with AudioQueuePause/AudioQueueStart for recording
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with AudioQueuePause/AudioQueueStart for recording


  • Subject: Re: Problem with AudioQueuePause/AudioQueueStart for recording
  • From: Doug Wyatt <email@hidden>
  • Date: Wed, 27 Aug 2008 09:58:14 -0700

Unfortunately, AudioQueuePause doesn't have any reliable effect on recording. For now, don't do that; stop and restart instead.

On Aug 18, 2008, at 15:45 , Craig Hopson wrote:
Hi list,

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.
	Stop recording.

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.
-Craig
_______________________________________________
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: 
 >Problem with AudioQueuePause/AudioQueueStart for recording (From: Craig Hopson <email@hidden>)

  • Prev by Date: Re: Test report MBP built-in audio device
  • Next by Date: AudioQueue Crossfading does not work
  • Previous by thread: Problem with AudioQueuePause/AudioQueueStart for recording
  • Next by thread: Maximum number of parameters?
  • Index(es):
    • Date
    • Thread