BASS_Split_StreamReset
Resets a splitter stream or all splitter streams of a source.
BOOL BASS_Split_StreamReset(
DWORD handle
);
Parameters
handle | The splitter or source handle.
|
Return value
If successful, TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.
Error codes
BASS_ERROR_HANDLE | handle is neither a splitter stream or source.
|
Remarks
This function resets the splitter stream's buffer state, so that the next sample data that 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.
See also
BASS_Split_StreamCreate, BASS_Split_StreamResetEx