BASS.NET API for the Un4seen BASS Audio Library

BassMixBASS_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: 2.4.17.5
Syntax

[DllImportAttribute("bassmix")]
public static bool BASS_Mixer_ChannelRemoveSync(
	int handle,
	int sync
)

Parameters

handle
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)).
sync
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.
Remarks

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

Reference