BASS.NET API for the Un4seen BASS Audio LibraryBassFxBASS_FX_ReverseGetSource Method BASS.NET API for the Un4seen BASS Audio Library
Get the source channel handle of the reversed stream.

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

[DllImportAttribute("bass_fx.dll", CharSet = CharSet.Unicode)]
public static int BASS_FX_ReverseGetSource(
	int channel
)

Parameters

channel
Type: SystemInt32
The handle of the reversed stream.

Return Value

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

ERROR CODEDescription
BASS_ERROR_HANDLEchannel is not valid.

Examples

VB
' the source channel
Dim stream As Integer = Bass.BASS_StreamCreateFile("test.mp3", 0L, 0L, BASSFlag.BASS_STREAM_DECODE Or
                                                                       BASSFlag.BASS_STREAM_PRESCAN)
' the tempo channel
Dim streamFX As Integer = BassFx.BASS_FX_ReverseCreate(stream, 2F, BASSFlag.BASS_FX_FREESOURCE)
...
' this will return 'stream'
Dim chan As Integer = BassFx.BASS_FX_ReverseGetSource(streamFX);
// the source channel
int stream = Bass.BASS_StreamCreateFile("test.mp3", 0L, 0L, BASSFlag.BASS_STREAM_DECODE | 
                                                            BASSFlag.BASS_STREAM_PRESCAN);
// the reverse channel
int streamFX = BassFx.BASS_FX_ReverseCreate(stream, 2f, BASSFlag.BASS_FX_FREESOURCE);
...
// this will return 'stream'
int chan = BassFx.BASS_FX_ReverseGetSource(streamFX);
See Also

Reference