Re: Mixer units
Re: Mixer units
- Subject: Re: Mixer units
- From: Sailor Quasar <email@hidden>
- Date: Fri, 7 Mar 2003 16:18:03 -0500
On Friday, March 7, 2003, at 02:52 PM, Bill Stewart wrote:
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.
We haven't implemented panning for stereo sources..
Ok, I've tried using the Audio Converter to convert my input source to
mono channel, and it appears to work so far as that. I reset the input
bus of the stereo mixer to take single-channel data and that appears to
work too. I give it mono input data. That seems to work. I set the pan.
It doesn't do a thing, even though nothing returns an error of any
kind. Help!
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.
Take a look at the 3DMixer example code in the SDK - that works fine -
take a look at the view code where these are set (that should be the
same behaviour with its a V1 or V2 instance that you're dealing with)
The only thing the sample code does that I don't is set the speaker
config and spatialization alg; are the defaults for those no good?
-- Sailor Quasar, High Codemaster of the Web, scourge of systems
cvs server: Updating Quasar/brain/caffiene
A pepsi
R coke
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.