BASS_CONFIG_ANDROID_AAUDIO config option
Enable AAudio on Android?
BASS_SetConfig(
BASS_CONFIG_ANDROID_AAUDIO,
BOOL enable
);
Parameters
Remarks
By default, AAudio will be used for playback and recording on Android 8.1 and above, and OpenSL ES will be used on earlier Android versions. AAudio can be enabled on Android 8.0 devices too but it is known to be buggy/crash on some of those devices. The setting will be ignored on older Android versions where AAudio is not available. Changes take effect from the next BASS_Init or BASS_RecordStart call. When AAudio is enabled, that can be overridden in individual BASS_Init and BASS_RecordStart calls.
BASS_RecordGetInfo uses AAudio to get a device's sample format, so it is also affected by this setting.
Platform-specific
This config option is only available on Android.
See also
BASS_GetConfig, BASS_Init, BASS_RecordStart, BASS_SetConfig