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_AM_DISABLE
Disable the use of Android media codecs?
BASS_CONFIG_ANDROID_AAUDIO
Enable AAudio output on Android?
BASS_CONFIG_ANDROID_SESSIONID
Session ID to use for output on Android.
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_DEV_NONSTOP
Do not stop an output device when nothing is playing?
BASS_CONFIG_DEV_PERIOD
Output device update period.
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_HANDLES
Number of existing HMUSIC / HRECORD / HSAMPLE / HSTREAM handles.
BASS_CONFIG_IOS_SESSION
Audio session configuration on iOS.
BASS_CONFIG_MF_DISABLE
Disable the use of Media Foundation?
BASS_CONFIG_MF_VIDEO
Play the audio from videos using Media Foundation?
BASS_CONFIG_MUSIC_VIRTUAL
IT virtual channels.
BASS_CONFIG_NET_BUFFER
Internet download buffer length.
BASS_CONFIG_NET_META
Request Shoutcast metadata?
BASS_CONFIG_NET_PASSIVE
Use passive mode in FTP connections?
BASS_CONFIG_NET_PLAYLIST
Process URLs in playlists?
BASS_CONFIG_NET_PLAYLIST_DEPTH
Maximum nested playlist processing depth.
BASS_CONFIG_NET_PREBUF
Amount to pre-buffer before playing internet streams.
BASS_CONFIG_NET_READTIMEOUT
Time to wait for a server to deliver more data.
BASS_CONFIG_NET_RESTRATE
Restricted download rate.
BASS_CONFIG_NET_TIMEOUT
Time to wait for a server to respond to a connection request.
BASS_CONFIG_NORAMP
Default playback ramping.
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_REC_DEFAULT
Include a "Default" entry in the recording device list?
BASS_CONFIG_REC_WASAPI
Use WASAPI when recording?
BASS_CONFIG_SAMPLE_ONEHANDLE
Use the same handle for a sample and its single channel?
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_VERIFY_NET
File format verification length for internet streams.
BASS_CONFIG_WASAPI_PERSIST
Retain 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_ILLPARAM
option
is invalid.
See also
BASS_GetConfigPtr
,
BASS_SetConfig