Re: AudioConverterFillComplexBuffer
Re: AudioConverterFillComplexBuffer
- Subject: Re: AudioConverterFillComplexBuffer
- From: William Stewart <email@hidden>
- Date: Tue, 26 Apr 2005 14:29:23 -0700
In the DefaultOutputTest in the SDK there's a simple example of using
an AudioConverter directly I think
Bill
On 26/04/2005, at 10:53 AM, Craig Bakalian wrote:
Hi,
I must convert some audio data. I am on page 50-51 of the
CoreAudio pdf. I am not sure I understand the process of the
AudioConverterRef. I understand that I set up a converter instance
with two AudioStreamBasicDescriptions, in and out. However, on
the AudioConverterFillComplexBuffer(converter, inputProcPtr,
userData, &ioOutputDataPacketSize, &bufferList, NULL) I don't
understand how the &bufferList is working. Am I to create an
instance of an AudioBufferList and fill in the mBuffers[i]->mData
with the data I need converted? Also, the userData, must I set up
constants that define what the new fields of the mData will be set
to in the inputProc function (like on page 51)?
Or, is there any further documentation, or examples of a
working AudioConverterRef out there?
Craig Bakalian
www.eThinkingCap.com
_______________________________________________
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
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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