Retrieves the mixer that a channel is plugged into.

HSTREAM BASS_Mixer_ChannelGetMixer(
    DWORD handle


handleThe channel handle.

Return value

If successful, the mixer stream's handle is returned, else 0 is returned. Use BASS_ErrorGetCode to get the error code.

Error codes

BASS_ERROR_HANDLEhandle is not a mixer source.

See also

BASS_Mixer_StreamAddChannel, BASS_Mixer_StreamAddChannelEx, BASS_Mixer_StreamGetChannels