Removes a synchronizer from a MOD music, stream or recording channel.

BOOL BASS_ChannelRemoveSync(
    DWORD handle,
    HSYNC sync


handleThe channel handle... a HMUSIC, HSTREAM or HRECORD.
syncHandle of the synchronizer to remove.

Return value

If successful, TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.

Error codes

BASS_ERROR_HANDLEAt least one of handle and sync is not valid.

See also