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: 2.4.12.0
Syntax

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

Parameters

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.
Remarks

Options:

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.

Examples

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

Reference