AU Format Converter and mChannelsPerFrame
AU Format Converter and mChannelsPerFrame
- Subject: AU Format Converter and mChannelsPerFrame
- From: Craig Bakalian <email@hidden>
- Date: Wed, 8 Jun 2005 05:45:04 -0400
Hi,
I am uncertain about how the
convert.componentType = kAudioUnitType_FormatConverter;
convert.componentSubType = kAudioUnitSubType_AUConverter;
is converting stored audio data that has a AudioStreamBasicDescription of mChannelsPerFrame = 1 to be transformed into audio data that has an AudioStreamBasicDescription of mChannelsPerFrame = 2. From my tests, it appears I can convert audio data with 2 mChannelsPerFrame into 1, yet I cannot convert from 1 to 2. No errors are thrown, the rendering happens, but the sound is just coming out of one speaker after I attempted to convert from 1 to 2. Is there something that needs to be done in the callback of the render process? Is this conversion possible?
Craig Bakalian
_______________________________________________
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