BASS_Mixer_ChannelSetMatrix


Sets a 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_HANDLEThe channel is not plugged into a mixer.
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