Re: AudioConverter question.
Re: AudioConverter question.
- Subject: Re: AudioConverter question.
- From: Doug Wyatt <email@hidden>
- Date: Fri, 15 Nov 2002 07:52:44 +0100
To map mono to N channels, set the converter's
kAudioConverterChannelMap property to an array of SInt32's which are
all 0 and has as many array elements as the output has channels.
Doug
On Thursday, Nov 14, 2002, at 10:39 Europe/Berlin, Fredrik Oja wrote:
Hi list,
I'm trying to use an AudioConverter to convert my 16khz, mono, 16bit
linear data to what my device prefer. In this case to 44.1khz 32bit
(float) stereo data. This works fine, except that the converter only
writes data to the left channel. My workaround is to copy each sample
from the left channel into the right channel. Is this intendent
behaviour of the AudioConverter? If it is, is there someway I can tell
the converter to write the same data to the right channel too?
/Fredrik
--
Doug Wyatt
work: email@hidden (CoreAudio)
personal: email@hidden
http://www.sonosphere.com
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.