Re: Audio Queue Services
Re: Audio Queue Services
- Subject: Re: Audio Queue Services
- From: David Collins <email@hidden>
- Date: Tue, 10 Feb 2009 17:54:57 -0600
Thanks, Jens,
I will go ahead and put that in as an alternative implementation but
would like to understand how it might be done using AudioQueues.
David Collins
p.s. Not sure what -66626 means but I found that I had commented out
setting up the ofliine render. It's funny I no longer get any errors
on any AudioQueues calls. I get like a certain number of bytes of
compressed data,(like 442 bytes) the AudioQueues says that it has
converted it but only get out 8 bytes of 0 data.
On Feb 10, 2009, at 5:38 PM, Jens Alfke wrote:
On Feb 10, 2009, at 2:03 PM, David Collins wrote:
I have a few questions concerning Audio Queue Services. I am using
an AudioQueue to convert compressed audio(aac) in memory to lpcm
in memory. Basically I do the following steps:
If that's all you're doing, it might be simpler just to use an
AudioConverter <AudioToolbox/AudioConverter.h>. There are examples
in the SDK showing how to use it ... basically you configure it,
then pass it buffers of input data, and it fills in buffers of
output samples.
It's a lower-level API, but it should be easier for this case
because it has a synchronous programming model.
—Jens
_______________________________________________
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