BASS.NET API for the Un4seen BASS Audio Library

BassBASS_ChannelRemoveSync Method

BASS.NET API for the Un4seen BASS Audio Library
Removes a synchronizer from a MOD music or stream channel.

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

[DllImportAttribute("bass")]
public static bool BASS_ChannelRemoveSync(
	int handle,
	int sync
)

Parameters

handle
Type: SystemInt32
The channel handle... a HMUSIC, HSTREAM or HRECORD.
sync
Type: SystemInt32
Handle of the synchronizer to remove (return value of a previous BASS_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.
Remarks

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

See Also

Reference