Audio Queue Services
Audio Queue Services
- Subject: Audio Queue Services
- From: David Collins <email@hidden>
- Date: Tue, 10 Feb 2009 16:03:27 -0600
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:
(1). Call AudioQueueNewOutput using the compressed source
AudioStreamBasicDescription.
(2). I allocate an input buffer from the AudioQueue of sufficient size.
(3). Set the offline render format.
(4). I start the queue if not already started.
(5). I expected AudioQueues to automatically call my callback but it
doesn't. (WHY?)
(6). I allocate an Audio buffer and manually call the handler.
(7). I copy the compressed data to the buffer.
(8). I enqueue the buffer with an AudioStreamPacketDescription.
(9). Then I call AudioQueueOfflineRender and get an error code of
-66626. I can't seem to find any reference to that particular code.
Its not listed in the header file, AudioQueue.h. Does anyone know
what it is?
Are the above steps correct for what I am trying to do? (convert
compressed audio in memory to lpcm).
I can't seem to find any examples for what I am trying to do.
Thanks,
David Collins
_______________________________________________
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