BASS_SetConfig
Sets the value of a config option.
BOOL BASS_SetConfig( DWORD option, DWORD value );
Parameters
option | The option to set the value of... one of the following.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
value | The new option setting. See the option's documentation for details on the possible values. |
Return value
If successful, TRUE is returned, else FALSE is returned. Use BASS_ErrorGetCode to get the error code.Error codes
BASS_ERROR_ILLPARAM | option is invalid. |
Remarks
Some config options have a restricted range of values, so the config's actual value may not be the same as requested if it was out of range. BASS_GetConfig can be used to confirm what the value is.Config options can be used at any time and are independent of initialization, ie. BASS_Init does not need to have been called beforehand.
Where a config option is shown to have a "BOOL" value, 0 (zero) is taken to be "FALSE" and anything else is taken to be "TRUE".