BASS.NET API for the Un4seen BASS Audio LibraryBassMixBASS_Mixer_ChannelRemoveSync Method BASS.NET API for the Un4seen BASS Audio Library
Removes a synchronizer from a mixer source channel.

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

public static bool BASS_Mixer_ChannelRemoveSync(
	int handle,
	int sync


Type: SystemInt32
The mixer source channel handle (as returned by BASS_Mixer_StreamAddChannel(Int32, Int32, BASSFlag) or BASS_Mixer_StreamAddChannelEx(Int32, Int32, BASSFlag, Int64, Int64)).
Type: SystemInt32
Handle of the synchronizer to remove (return value of a previous BASS_Mixer_ChannelSetSync(Int32, BASSSync, Int64, SYNCPROC, IntPtr) call).

Return Value

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

This function can only remove syncs that were set via BASS_Mixer_ChannelSetSync(Int32, BASSSync, Int64, SYNCPROC, IntPtr), not those that were set via BASS_ChannelSetSync(Int32, BASSSync, Int64, SYNCPROC, IntPtr).

ERROR CODEDescription
BASS_ERROR_HANDLEAt least one of handle and sync is not valid.

See Also