Hi CoreAudio experts!

I'm developing a desktop OSX audio app and I need to use a mixer. The only
thing I know is that I won't use 3D spatial things.
I'm looking for having a mixer with the most flexibility since I don't want
the client has to choose what kind of mixer to use.

So I need to use one between the kAudioUnitSubType_MultiChannelMixer,
kAudioUnitSubType_MatrixMixer and kAudioUnitSubType_StereoMixer.

My problem is that it seems that they don't share the same parameters:
- SteroMixer has only: volume, pan
- MultiChannelMixer has: volume, pan, enable
- MatrixMixer has: volume, enable

Well… here are my questions.
1) What the enable parameter means? Does it set only the volume to zero, so
I could implement it in the SteroMixer? Or is it more than this?

2) Why the MatrixMixer doesn't have a pan parameter?

3) I think I will go with the MultiChannelMixer since I don't think I will
need more than 1 output and it could be mono/stereo, but from what I saw
this one is used for iOs. Is there a reason to not use it on OSX?

4) At the beginning the MatrixMixer volume is 0 so I need to go through all
the input buses and output to set the volume. I saw this on StackOverflow.
But is the default behaviour or is there a parameter/property to set to
have a full volume directly?

Thank you for your help.

Laurent Noudohounsi.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (Coreaudio-api@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/coreaudio-api/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to