A couple of questions for anyone who knows........
1)I have successfully got 16 bit mono 44.1khz audio to play throught the au3dmixerembedded audiounit. However if I change the type of audiounit to a multichannel mixer, then the audio sounds distorted. The core audio overview states that both the 3dmixer can accept 16 bit linear and output 8.24 bit fixed point stereo. The multichannel mixer is stated to be able to use both 16-bit linear AND 8.24 bit fixed point PCM. Then why does the multichannel mixer behave differently? Do I
have to set any rendering flags or the input ASBD? Does it default to a Stream type of 8.24?
I tried the AUconverter unit going into the multichannel mixer but still sounds distorted. If the input and output streams need to be set to 8.24 fixed for the audiounits, then what are those settings for the bit-depth and rendering flags in the ASBD? (I am using an AUgraph, which I believe sets the input format to be the same as the downstream node's output format automatically, right?)
2)Assuming I can't get the above to work, and I go ahead with the 3d mixer, I have tried to use AudiounitSetParameter to change the Azimuth parameter (k3dmixerParam_Azimuth) with....
AudiounitSetParameter(mixerUnit, k3dmixerParam_Azimuth, kAudioUnitScope_Input, 0, myFloatValue, 0);
but I'm getting a -50 ParamErr and not sure why. Earlier on in my setup code I have grabbed the instance of the
_______________________________________________
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