BASS_Mixer_ChannelSetMap
Sets a source channel's mixing matrix for a channel map.
BOOL BASS_Mixer_ChannelSetMap(
DWORD handle,
int *chanmap
);
Parameters
| handle | The channel handle.
|
| chanmap | Channel map... pointer to an array of source channel indexes (0=first, -1=none) for each mixer output channel.
|
Return value
If successful, a TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.
Error codes
| BASS_ERROR_HANDLE | handle is not a mixer source.
|
| BASS_ERROR_NOTAVAIL | The channel is not using matrix mixing.
|
| BASS_ERROR_ILLPARAM | chanmap contains an invalid channel index.
|
Remarks
See the matrix mixing documentation for examples.
See also
BASS_Mixer_ChannelGetMatrix, BASS_Mixer_ChannelSetMatrix, BASS_Mixer_StreamAddChannel