Resets a splitter stream or all splitter streams of a source.

BOOL BASS_Split_StreamReset(
    DWORD handle


handleThe 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_HANDLEhandle is neither a splitter stream or source.


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