Retrieves the value of a config option.

    DWORD option


optionThe option to get the value of... one of the following.
BASS_CONFIG_3DALGORITHMThe 3D algorithm for software mixed 3D channels.
BASS_CONFIG_AM_DISABLEDisable the use of Android media codecs?
BASS_CONFIG_ANDROID_AAUDIOEnable AAudio output on Android?
BASS_CONFIG_ANDROID_SESSIONIDSession ID to use for output on Android.
BASS_CONFIG_ASYNCFILE_BUFFERAsynchronous file reading buffer length.
BASS_CONFIG_BUFFERPlayback buffer length.
BASS_CONFIG_CURVE_PANPanning translation curve.
BASS_CONFIG_CURVE_VOLVolume translation curve.
BASS_CONFIG_DEV_BUFFEROutput device buffer length.
BASS_CONFIG_DEV_DEFAULTInclude a "Default" entry in the output device list?
BASS_CONFIG_DEV_NONSTOPDo not stop an output device when nothing is playing?
BASS_CONFIG_DEV_PERIODOutput device update period.
BASS_CONFIG_FLOATFloating-point sample data is supported?
BASS_CONFIG_FLOATDSPPass 32-bit floating-point sample data to all DSP functions?
BASS_CONFIG_GVOL_MUSICGlobal MOD music volume.
BASS_CONFIG_GVOL_SAMPLEGlobal sample volume.
BASS_CONFIG_GVOL_STREAMGlobal stream volume.
BASS_CONFIG_IOS_SESSIONAudio session configuration on iOS.
BASS_CONFIG_MF_DISABLEDisable the use of Media Foundation?
BASS_CONFIG_MF_VIDEOPlay the audio from videos using Media Foundation?
BASS_CONFIG_NET_BUFFERInternet download buffer length.
BASS_CONFIG_NET_PASSIVEUse passive mode in FTP connections?
BASS_CONFIG_NET_PLAYLISTProcess URLs in playlists?
BASS_CONFIG_NET_PLAYLIST_DEPTHMaximum nested playlist processing depth.
BASS_CONFIG_NET_PREBUFAmount to pre-buffer before playing internet streams.
BASS_CONFIG_NET_PREBUF_WAITWait for pre-buffering when opening internet streams?
BASS_CONFIG_NET_READTIMEOUTTime to wait for a server to deliver more data.
BASS_CONFIG_NET_TIMEOUTTime to wait for a server to respond to a connection request.
BASS_CONFIG_OGG_PRESCANPre-scan chained OGG files?
BASS_CONFIG_PAUSE_NOPLAYPrevent channels being played when the output is paused?
BASS_CONFIG_REC_BUFFERRecording buffer length.
BASS_CONFIG_SRCDefault sample rate conversion quality.
BASS_CONFIG_SRC_SAMPLEDefault sample rate conversion quality for samples.
BASS_CONFIG_UNICODEUnicode device information?
BASS_CONFIG_UPDATEPERIODUpdate period of playback buffers.
BASS_CONFIG_UPDATETHREADSNumber of update threads.
BASS_CONFIG_VERIFYFile format verification length.
BASS_CONFIG_VERIFY_NETFile format verification length for internet streams.
BASS_CONFIG_VISTA_SPEAKERSEnable speaker assignment with panning/balance control on Windows Vista and newer?
BASS_CONFIG_VISTA_TRUEPOSEnable true play position mode on Windows Vista and newer?
BASS_CONFIG_WASAPI_PERSISTRetain Windows mixer settings across sessions?
other config options may be supported by add-ons, see the documentation.

Return value

If successful, the value of the requested config option is returned, else -1 is returned. Use BASS_ErrorGetCode to get the error code.

Error codes

BASS_ERROR_ILLPARAMoption is invalid.

See also

BASS_GetConfigPtr, BASS_SetConfig