BASS_CONFIG_ANDROID_AAUDIO config option
Enable AAudio output on Android?
|Enable AAudio output?
Android has three audio APIs: AudioTrack, OpenSL ES, AAudio. AudioTrack is available in all Android versions. OpenSL ES was introduced in Android 2.3. AAudio was introduced in Android 8. BASS includes support for all three. AudioTrack is used if the BASS_DEVICE_AUDIOTRACK flag is specified with BASS_Init (or on pre-2.3 Android). Otherwise, this option determes whether OpenSL ES or AAudio is used.
The default setting is TRUE (AAudio enabled) on Android 8.1 and above, and FALSE on earlier Android versions. It can be set to TRUE on Android 8.0 devices too but AAudio 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 call.
This config option is only available on Android.
BASS_GetConfig, BASS_SetConfig, BASS_Init