BASS_CONFIG_REC_DEFAULT config option
Include a "Default" entry in the recording device list?
BASS_SetConfig(
BASS_CONFIG_REC_DEFAULT,
BOOL default
);
Parameters
default | If TRUE, a "Default" device will be included in the device list.
|
Remarks
This option adds a "Default" entry to the recording device list, which maps to the device that is currently the system's default. Its input will automatically switch over when the system's default device setting changes.
When enabled, the "Default" device will also become the default device to BASS_RecordInit (with device = -1). Both it and the device that it currently maps to will have the BASS_DEVICE_DEFAULT flag set by BASS_RecordGetDeviceInfo.
This option is enabled by default, and can only be disabled before BASS_RecordGetDeviceInfo or BASS_RecordInit has been called.
Platform-specific
This config option is only available on Windows and macOS; a "Default" entry is always included on other platforms. On Windows, the automatic device switching feature requires using WASAPI (not DirectSound) for recording.
See also
BASS_GetConfig, BASS_SetConfig, BASS_Init