diff --git a/Source/Core/AudioCommon/AudioCommon.cpp b/Source/Core/AudioCommon/AudioCommon.cpp index 86d3d5943e..77551829bf 100644 --- a/Source/Core/AudioCommon/AudioCommon.cpp +++ b/Source/Core/AudioCommon/AudioCommon.cpp @@ -95,15 +95,15 @@ void ShutdownSoundStream() std::string GetDefaultSoundBackend() { std::string backend = BACKEND_NULLSOUND; -#if defined __linux__ +#if defined ANDROID + backend = BACKEND_OPENSLES; +#elif defined __linux__ if (AlsaSound::isValid()) backend = BACKEND_ALSA; #elif defined __APPLE__ backend = BACKEND_COREAUDIO; #elif defined _WIN32 backend = BACKEND_XAUDIO2; -#elif defined ANDROID - backend = BACKEND_OPENSLES; #endif return backend; }