Re: Basic AudioQueue Service issue
Re: Basic AudioQueue Service issue
- Subject: Re: Basic AudioQueue Service issue
- From: "Hamish Allan" <email@hidden>
- Date: Thu, 23 Oct 2008 19:11:37 +0100
On Thu, Oct 23, 2008 at 5:49 PM, <email@hidden> wrote:
> That was why I didn't use AudioQueueReset (unless it's called indirectly by
> one of the other methods I'm calling).
NB also "This function is called automatically when you call AudioQueueStop."
> Is there a callback or some other way to tell when the DSP state has been
> reset?
Not that I know of. That's why I suggested
AudioQueueEnqueueBufferWithParameters.
> No, but setting the volume to 0 and then adding a delay works in AudioQueue.
> (The pop is not currently an issue for me with AudioQueue, unless the delay
> is causing the latency issues...
Is the latency comparable to the delay? Have you tried using
AudioQueuePrime instead of a delay?
> my issue with the pop at the moment is with
> SoundEngine.)
SoundEngine uses audio queues internally, so it wouldn't surprise me
if it were the same problem.
>> I'm about to start writing a seekable file audio player...
>> ...so I'll let you know how I get on.
>
> I appreciate it.
So far I'm seeing about a 60-70ms latency for just brutally tearing
down and re-creating the audio queue (on an iPod Touch). That's fine
for my purposes. What kind of latency are you looking for?
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