BASS_Mixer_ChannelSetMatrix

Sets a source channel's mixing matrix.

BOOL BASS_Mixer_ChannelSetMatrix(
    DWORD handle,
    void *matrix
);

Parameters

handleThe channel handle.
matrixPointer to the matrix.

Return value

If successful, a TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.

Error codes

BASS_ERROR_HANDLEhandle is not a mixer source.
BASS_ERROR_NOTAVAILThe channel is not using matrix mixing.

Remarks

See the matrix mixing documentation for examples.

See also

BASS_Mixer_ChannelGetMatrix, BASS_Mixer_ChannelSetMatrixEx, BASS_Mixer_StreamAddChannel, BASS_Mixer_StreamAddChannelEx