Re: Playing mono sound via the DefaultOutput Audio Unit
Re: Playing mono sound via the DefaultOutput Audio Unit
- Subject: Re: Playing mono sound via the DefaultOutput Audio Unit
- From: Bill Stewart <email@hidden>
- Date: Tue, 1 Apr 2003 12:56:00 -0800
Easy way to do this is to add a Mixer Unit between your mono source and
the output unit - it will mix the mono source to both channels
On Tuesday, April 1, 2003, at 01:56 AM, Frangois Menu wrote:
Is there a way to have the DefaultOutput Audio Unit play a mono sound
on both stereo channels automatically? When I set the Stream Format
properties of the DefaultOutput Audio Unit to have only one channel,
the sound is only played on the left speaker!
The obvious solution is to set the stream format to have 2 channels,
and copy my mono data to the two buffers in my render callback, but I
would have prefered to have it done for me by the system!
Welcome to the world of giving you enough rope to hang yourself... (We
*never* said or implied we'd do this for you - that's an assumption
you've made:-)
Bill
Anyway, how the DefaultOutput Audio Unit handles the input channels?If
I have 3 or more input channels, how are they played on stereo
speakers? Is there any way to control that?
--
Frangois Menu
email@hidden
_______________________________________________
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
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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.