Re: Mono Playback
Re: Mono Playback
- Subject: Re: Mono Playback
- From: William Stewart <email@hidden>
- Date: Wed, 30 Jun 2004 10:20:04 -0700
The converter doesn't do any mixing - but the output unit if it gets a
mono source for a stereo device will I think automatically copy the
channel into both for the device....
(a) If this is what you are doing (ie. giving the output unit 1
channel) and its not doing this you have a couple of alternatives....
(1) Detect the mis-match when you are doing the converter phase, and
use the channel map property to duplicate the mono into the two
destination channels of your stereo output from the converter.
If (a) is not doing this, then you can also set a channel map on the
output unit, describing which channels that you are giving it should go
to which channels on the device.
There's some docs on using this property in the
AudioToolbox/AudioConverter.h file and in the SDK documentation
Bill
On 28/06/2004, at 5:04 PM, Stevo Brock wrote:
>
In my app, I'm using Core Audio to do sound playback. In doing so, I
>
have opened the default output unit and an audio converter to feed
>
data to the output unit. When playing back a mono file, the audio is
>
being routed to the left channel only. I was expecting to hear the
>
audio from both the left and right channels. Is this the expected
>
behavior or am I doing something wrong?
>
>
-Stevo Brock
>
_______________________________________________
>
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.
>
>
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
Culture Ship Names:
Ravished By The Sheer Implausibility Of That Last Statement [GSV]
I said, I've Got A Big Stick [OU]
Inappropiate Response [OU]
Far Over The Borders Of Insanity And Still Accelerating [Eccentric]
________________________________________________________________________
__
_______________________________________________
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.