• 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: Basic AudioQueue Service issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Basic AudioQueue Service issue


  • Subject: Re: Basic AudioQueue Service issue
  • From: "Hamish Allan" <email@hidden>
  • Date: Thu, 23 Oct 2008 16:32:32 +0100

On Thu, Oct 23, 2008 at 3:39 PM, Craig Patchett <email@hidden> wrote:

> What I can't figure out how to work around,
> however, is the popping sound I get when I restart a sound in the middle of
> playing.

The documentation for AudioQueueReset() states:

"If you queue buffers after calling this function, processing does not
begin until the decoder and DSP state of the audio queue are reset.
This might create an audible discontinuity (or "glitch")."

I guess if you want lower latency than the time it takes for the DSP
state to be reset, you're out of luck.

Have you tried setting the queue volume to 0, then using
AudioQueueEnqueueBufferWithParameters() to set it back? The docs say
"Changes to audio queue buffer parameters take effect when the buffer
starts playing" so it might just work.

I'm about to start writing a seekable file audio player (having
previously only handled streaming) so I'll let you know how I get on.

Best wishes,
Hamish
 _______________________________________________
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: Basic AudioQueue Service issue
      • From: William Stewart <email@hidden>
References: 
 >Re: Basic AudioQueue Service issue (From: William Stewart <email@hidden>)
 >Re: Basic AudioQueue Service issue (From: Craig Patchett <email@hidden>)
 >Re: Basic AudioQueue Service issue (From: Craig Patchett <email@hidden>)

  • Prev by Date: AU Name in Logic
  • Next by Date: RE: Basic AudioQueue Service issue
  • Previous by thread: Re: Basic AudioQueue Service issue
  • Next by thread: Re: Basic AudioQueue Service issue
  • Index(es):
    • Date
    • Thread