BASS_Encode_GetChannel

Retrieves the channel that an encoder is set on.

DWORD BASS_Encode_GetChannel(
    HENCODE handle
);

Parameters

handleThe encoder.

Return value

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

Error codes

BASS_ERROR_HANDLEhandle is not valid.

See also

BASS_Encode_SetChannel, BASS_Encode_Start