BASS.NET API for the Un4seen BASS Audio LibraryBassBASS_GetConfigBool Method BASS.NET API for the Un4seen BASS Audio Library
Retrieves the value of a config option as a bool.

Namespace: Un4seen.Bass
Assembly: Bass.Net (in Bass.Net.dll) Version:

[DllImportAttribute("bass", EntryPoint = "BASS_GetConfig")]
public static bool BASS_GetConfigBool(
	BASSConfig option


Type: Un4seen.BassBASSConfig
The option to get the value of... one of the following (BASSConfig).

Return Value

Type: Boolean
If successful, the value of the requested config option is returned (as a bool). Use BASS_ErrorGetCode to get the error code.


BASS_CONFIG_CURVE_VOLVolume translation curve.
BASS_CONFIG_CURVE_PANPanning translation curve.
BASS_CONFIG_FLOATDSPPass 32-bit floating-point sample data to all DSP functions?
BASS_CONFIG_MP3_CODECThe MP3 decoder to use... = BASS, = Windows.
BASS_CONFIG_NET_PASSIVEUse passive mode in FTP connections?
BASS_CONFIG_PAUSE_NOPLAYPrevent channels being played when the output is paused?
BASS_CONFIG_VISTA_SPEAKERSEnable speaker assignment with panning/balance control on Windows Vista and newer?
BASS_CONFIG_OGG_PRESCANPre-scan chained OGG files?
Other config options may be supported by Add-Ons, see the documentation.

ERROR CODEDescription
BASS_ERROR_ILLPARAMoption is invalid.


Getting the DSP processing option:
Dim floatDSP As Boolean = Bass.BASS_SetConfig(BASSConfig.BASS_CONFIG_FLOATDSP)
bool floatDSP = Bass.BASS_SetConfig(BASSConfig.BASS_CONFIG_FLOATDSP);
See Also