BASS_GetConfig
Retrieves the value of a config option.
DWORD BASS_GetConfig( DWORD
option
);
Parameters
option
The option to get the value of... one of the following.
BASS_CONFIG_3DALGORITHM
The 3D algorithm for software mixed 3D channels.
BASS_CONFIG_ASYNCFILE_BUFFER
Asynchronous file reading buffer length.
BASS_CONFIG_BUFFER
Playback buffer length.
BASS_CONFIG_CURVE_PAN
Panning translation curve.
BASS_CONFIG_CURVE_VOL
Volume translation curve.
BASS_CONFIG_DEV_BUFFER
Output device buffer length.
BASS_CONFIG_DEV_DEFAULT
Include a "Default" entry in the output device list?
BASS_CONFIG_FLOATDSP
Pass 32-bit floating-point sample data to all DSP functions?
BASS_CONFIG_GVOL_MUSIC
Global MOD music volume.
BASS_CONFIG_GVOL_SAMPLE
Global sample volume.
BASS_CONFIG_GVOL_STREAM
Global stream volume.
BASS_CONFIG_MUSIC_VIRTUAL
IT virtual channels.
BASS_CONFIG_NET_BUFFER
Internet download buffer length.
BASS_CONFIG_NET_PASSIVE
Use passive mode in FTP connections?
BASS_CONFIG_NET_PLAYLIST
Process URLs in playlists?
BASS_CONFIG_NET_PREBUF
Amount to pre-buffer when opening internet streams.
BASS_CONFIG_NET_READTIMEOUT
Time to wait for a server to deliver more data.
BASS_CONFIG_NET_TIMEOUT
Time to wait for a server to respond to a connection request.
BASS_CONFIG_OGG_PRESCAN
Pre-scan chained OGG files?
BASS_CONFIG_PAUSE_NOPLAY
Prevent channels being played when the output is paused?
BASS_CONFIG_REC_BUFFER
Recording buffer length.
BASS_CONFIG_SRC
Default sample rate conversion quality.
BASS_CONFIG_SRC_SAMPLE
Default sample rate conversion quality for samples.
BASS_CONFIG_UNICODE
Unicode device information?
BASS_CONFIG_UPDATEPERIOD
Update period of playback buffers.
BASS_CONFIG_UPDATETHREADS
Number of update threads.
BASS_CONFIG_VERIFY
File format verification length.
BASS_CONFIG_VISTA_SPEAKERS
Enable speaker assignment with panning/balance control on Windows Vista and newer?
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_ILLPARAM
option
is invalid.
See also
BASS_GetConfigPtr
,
BASS_SetConfig