I am developing a karaoke software.and intend to mix the audio by using audiounit,but I don't know how to set the scope and element?for example:
UInt32 busCount = 2;
OSStatus result = AudioUnitSetProperty (
mixerUnit,
kAudioUnitProperty_ElementCount
kAudioUnitScope_Input,
0,
&busCount,
sizeof (busCount
);
why the scope is 'kAudioUnitScope_Input' and element is '0',what's the meaning of this?