Re: Newbie question: mono playback to left or right speaker only?
Re: Newbie question: mono playback to left or right speaker only?
- Subject: Re: Newbie question: mono playback to left or right speaker only?
- From: William Stewart <email@hidden>
- Date: Wed, 14 Jan 2009 23:52:16 +1100
Hi Jeremy
Have a look at the channel map property. When we see mono we are
trying to "do the right thing" and make it come out both speakers.
By using a channel map you can explicitly direct your input (mono)
channel to any of the device channels you want.
Bill
On Jan 13, 2009, at 5:02 AM, Jeremy Friesner wrote:
Hi all,
I apologize if there is an obvious answer to this question, but
after half an hour of scrounging around I haven't found anything.
Currently I have a program that uses CoreAudio (OpenAComponent(),
AudioUnitSetProperty(), AudioOutputUnitStart(), etc) to play back a
mono stream of audio. The program works fine, but currently it
outputs the mono audio to both the left and right speaker of my Mac.
What I'd like to be able to is tell it to output the mono audio to
only the left speaker, or only the right speaker.
What's the best way to do this? Do I need to change my program to
output a stereo stream, and make half of the stereo stream always be
silent? Or is there a more clever/efficient way?
Thanks,
Jeremy
_______________________________________________
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
_______________________________________________
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