BASS.NET API for the Un4seen BASS Audio Library

BASS_BFX_MIX Constructor (BASSFXChan)

BASS.NET API for the Un4seen BASS Audio Library
Constructor already setting the channel order.

Namespace:  Un4seen.Bass.AddOn.Fx
Assembly:  Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax

public BASS_BFX_MIX(
	params BASSFXChan[] channels
)

Parameters

channels
Type: Un4seen.Bass.AddOn.FxBASSFXChan
The variable list of the zero-based channel indexes (1st=0, 2nd=1,...). Each parameter will be applied in exactly this order.
Examples

Swap channels 1 and 2:
BASS_BFX_MIX swap = new BASS_BFX_MIX(BASSFXChan.BASS_BFX_CHAN2, BASSFXChan.BASS_BFX_CHAN1);
int channel = Bass.BASS_StreamCreateFile("test.mp3", 0, 0, BASSFlag.BASS_DEFAULT);
int fxMix = Bass.BASS_ChannelSetFX(channel, BASSFXType.BASS_FX_BFX_MIX, 0);
Bass.BASS_FXSetParameters(fxMix, swap);
See Also

Reference