Reorder optimal audio drivers

Same order as defined in ares, which favor pulseaudio over ALSA.
This commit is contained in:
Ghislain Antony Vaillant 2021-09-06 06:24:08 +02:00 committed by Screwtapello
parent 063e645ff2
commit e5809740a5

View File

@ -252,18 +252,18 @@ auto Audio::optimalDriver() -> string {
return "DirectSound 7.0";
#elif defined(AUDIO_WAVEOUT)
return "waveOut";
#elif defined(AUDIO_ALSA)
return "ALSA";
#elif defined(AUDIO_OSS)
return "OSS";
#elif defined(AUDIO_OPENAL)
return "OpenAL";
#elif defined(AUDIO_PULSEAUDIO)
return "PulseAudio";
#elif defined(AUDIO_PULSEAUDIOSIMPLE)
return "PulseAudio Simple";
#elif defined(AUDIO_OPENAL)
return "OpenAL";
#elif defined(AUDIO_AO)
return "libao";
#elif defined(AUDIO_ALSA)
return "ALSA";
#elif defined(AUDIO_OSS)
return "OSS";
#else
return "None";
#endif