diff options
Diffstat (limited to 'Source/Core/AudioCommon/AudioCommon.cpp')
| -rw-r--r-- | Source/Core/AudioCommon/AudioCommon.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Source/Core/AudioCommon/AudioCommon.cpp b/Source/Core/AudioCommon/AudioCommon.cpp index b766815312..5a4dc78c96 100644 --- a/Source/Core/AudioCommon/AudioCommon.cpp +++ b/Source/Core/AudioCommon/AudioCommon.cpp @@ -6,7 +6,6 @@ #include <fmt/chrono.h> #include <fmt/format.h> -#include "AudioCommon/AlsaSoundStream.h" #include "AudioCommon/CubebStream.h" #include "AudioCommon/Mixer.h" #include "AudioCommon/NullSoundStream.h" @@ -34,8 +33,6 @@ static std::unique_ptr<SoundStream> CreateSoundStreamForBackend(std::string_view return std::make_unique<OpenALStream>(); else if (backend == BACKEND_NULLSOUND) return std::make_unique<NullSound>(); - else if (backend == BACKEND_ALSA && AlsaSound::IsValid()) - return std::make_unique<AlsaSound>(); else if (backend == BACKEND_PULSEAUDIO && PulseAudio::IsValid()) return std::make_unique<PulseAudio>(); else if (backend == BACKEND_OPENSLES && OpenSLESStream::IsValid()) @@ -100,12 +97,6 @@ std::string GetDefaultSoundBackend() if (CubebStream::IsValid()) return BACKEND_CUBEB; #endif - -#if defined(__linux__) - if (AlsaSound::IsValid()) - return BACKEND_ALSA; -#endif - return BACKEND_NULLSOUND; } @@ -121,8 +112,6 @@ std::vector<std::string> GetSoundBackends() backends.emplace_back(BACKEND_NULLSOUND); if (CubebStream::IsValid()) backends.emplace_back(BACKEND_CUBEB); - if (AlsaSound::IsValid()) - backends.emplace_back(BACKEND_ALSA); if (PulseAudio::IsValid()) backends.emplace_back(BACKEND_PULSEAUDIO); if (OpenALStream::IsValid()) |
