Fades to a channel's mixing matrix, if it has one.
Namespace: Un4seen.Bass.AddOn.Mix
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
[DllImportAttribute("bassmix")] public static bool BASS_Mixer_ChannelSetMatrixEx( int handle, float[,] matrix, float time )
Parameters
- handle
- Type: SystemInt32
The mixer source channel handle (which was add via BASS_Mixer_StreamAddChannel(Int32, Int32, BASSFlag) or BASS_Mixer_StreamAddChannelEx(Int32, Int32, BASSFlag, Int64, Int64)) beforehand). - matrix
- Type: SystemSingle
The 2-dimensional array (float[,]) of the new mixing matrix. - time
- Type: SystemSingle
A period (in seconds) for the channel's current matrix to smoothly transition to the specified (new) matrix.
Return Value
Type: BooleanIf successful, a is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
Remarks
ERROR CODE | Description |
---|---|
BASS_ERROR_HANDLE | handle is not plugged into a mixer. |
BASS_ERROR_NOTAVAIL | The channel is not using matrix mixing. |
See Also