how to get mono? (the good kind)
how to get mono? (the good kind)
- Subject: how to get mono? (the good kind)
- From: Colin Klipsch <email@hidden>
- Date: Tue, 27 Aug 2002 18:07:16 -0400
Greetings.
I'm playing a continuous stream of 8-bit sound samples that I compute
on the fly. (Actually, I'm having the computer do this; I have no such
talent myself.) Toward this end, I'm opening up an AudioUnit, giving
it an input callback routine via an AudioUnitInputCallback, and
specifying the sound's format with an AudioStreamBasicDescription. I
borrowed heavily from the example project in:
/Developer/Examples/CoreAudio/Services/DefaultOutputUnit
All is more or less well and working as expected. But just the other
day, when I put some earphones on, I noticed that my one-channel sound
stream is being played through the /left/ speaker only. The right
speaker is dead.
Since I wish to produce monophonic sound -- that is, one channel of
data sent to both speakers simultaneously -- there's obviously some
more set up I have to do. Can anyone tell me how to achieve this in
CoreAudio? I searched among all the 'kAudioUnitProperty_' constants
and couldn't seem to find anything relevant.
Thankee kindly.
-- Colin K.
_______________________________________________
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.