BASS.NET API for the Un4seen BASS Audio Library

BassFxBASS_FX_TempoGetSource Method

BASS.NET API for the Un4seen BASS Audio Library
Get the source channel handle.

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

[DllImportAttribute("bass_fx")]
public static int BASS_FX_TempoGetSource(
	int channel
)

Parameters

channel
Type: SystemInt32
Tempo stream handle.

Return Value

Type: Int32
If successful, the source channel handle is returned, else 0 is returned. Use BASS_ErrorGetCode to get the error code.
Remarks

ERROR CODEDescription
BASS_ERROR_HANDLEchannel is not valid.

Examples

// the source channel
int stream = Bass.BASS_StreamCreateFile("test.mp3", 0L, 0L, BASSFlag.BASS_STREAM_DECODE);
// the tempo channel
int streamFX = BassFx.BASS_FX_TempoCreate(stream, BASSFlag.BASS_FX_FREESOURCE);
...
// this will return 'stream'
int chan = BassFx.BASS_FX_TempoGetSource(streamFX);
See Also

Reference