AudioConverterFillComplexBuffer
AudioConverterFillComplexBuffer
- Subject: AudioConverterFillComplexBuffer
- From: Craig Bakalian <email@hidden>
- Date: Tue, 26 Apr 2005 13:53:37 -0400
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