BASS_Encode_SetPriority
Sets the priority of an encoder, which determines its position in the source channel's DSP chain.
BOOL BASS_Encode_SetPriority(
DWORD handle,
int priority
);
Parameters
| handle | The encoder handle.
|
| priority | The new DSP priority.
|
Return value
If successful, TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.
Error codes
| BASS_ERROR_HANDLE | handle is not valid.
|
| BASS_ERROR_NOTAVAIL | The encoder does not have a source channel.
|
Remarks
An encoder's initial priority is determined by the BASS_CONFIG_ENCODE_PRIORITY config option.
See also
BASS_Encode_SetChannel, BASS_CONFIG_ENCODE_PRIORITY