Removes a links between two MOD music or stream channels.

BOOL BASS_ChannelRemoveLink(
    DWORD handle,
    DWORD chan


handleThe channel handle... a HMUSIC or HSTREAM.
chanThe handle of the channel to have unlinked with it... a HMUSIC or HSTREAM.

Return value

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

Error codes

BASS_ERROR_HANDLEhandle is not a valid channel.
BASS_ERROR_ALREADYEither chan is not a valid channel, or it is already not linked to handle.

See also