Mixer units
Mixer units
- Subject: Mixer units
- From: Sailor Quasar <email@hidden>
- Date: Fri, 7 Mar 2003 14:38:56 -0500
Thanks to everyone who answered my question about the AudioConverter
(those pitfalls really need to be documented somewhere, IMHO), but now
I have a new problem. I've switched to using
AudioConverterFillComplexBuffer() for the data conversion and that
works fine, but now I'm having problems with both the stereo and 3D
mixers. I'm not experienced with audio, so forgive me if some of this
is stupid.
When I'm using the stereo mixer (my input is a WAV file with 2-channel
16-bit linear signed integer PCM data, again), I can affect the volume
(kStereoMixerParam_Volume), but the panning (kStereoMixerParam_Pan) has
no effect whatsoever. Someone has suggested to me that pan is
meaningless when the input data is stereo, but seeing as how the
default input of the stereo mixer is 2-channel, I'm more than a bit
confused here.
When using the 3D mixer, I can't set ANY parameters.
k3DMixerParam_Azimuth, k3DMixerParam_Elevation, they all return
kAudioUnitErr_InvalidParameter no matter what I do.
These are all V2 AudioUnits (to try it with V1 I'd have to rewrite this
whole thing all over again and I refuse to do that unless I have to).
-- Sailor Quasar, just another player in The World
"Come with me in the twilight of the summer night for awhile"
Email: 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.