BASS_Loudness_SetChannel

Moves a loudness measurement to another channel or just changes its DSP priority.

BOOL BASS_Loudness_SetChannel(
    HLOUDNESS handle,
    DWORD channel,
    int priority
);

Parameters

handleThe loudness measurement handle.
channelThe channel to move the measurement to... a HSTREAM, HMUSIC, or HRECORD.
priorityThe new DSP priority of the measurements.

Return value

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

Error codes

BASS_ERROR_HANDLEhandle or channel is not valid.

Remarks

The new channel does not need to have the same sample format as the old channel.

See also

BASS_Loudness_GetChannel