BASS.NET API for the Un4seen BASS Audio Library

BassMixBASS_Split_StreamReset Method

BASS.NET API for the Un4seen BASS Audio Library
Resets a splitter stream or all splitter streams of a source.

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

[DllImportAttribute("bassmix")]
public static bool BASS_Split_StreamReset(
	int handle
)

Parameters

handle
Type: SystemInt32
The splitter (as obtained by BASS_Split_StreamCreate(Int32, BASSFlag, Int32)) or the source channel handle.

Return Value

Type: Boolean
If successful, is returned, else is returned. Use BASS_ErrorGetCode to get the error code.
Remarks

This function resets the splitter stream's buffer state, so that the next sample data it receives will be from the source's current position. If the stream has ended, that is reset too, so that it can be played again. Unless called from within a mixtime sync callback, the stream's output buffer (if it has one) is also flushed.

ERROR CODEDescription
BASS_ERROR_HANDLEThe handle is neither a splitter stream or source.

See Also

Reference