Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Using an AudioConverter to convert mono to stereo?



I have an Audio Converter hooked up via my Audio Unit's render callback
to perform on-the-fly conversions of audio sample formats and sample
frequencies. This is working fine to upsample 22.05kHz audio to 44.1kHz,
and to convert signed 16-bit ints to floats.

However, if the input is mono (mChannelsPerFrame = 1) but the requested
output is stereo (2 channels), the Audio Converter doesn't put the audio
in both channels; all the sound comes out of the left speaker.

Do I have to do something more to get sound into both channels?

Thanks for any info.
Simon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.