diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2026-11-15 23:33:29 -0600 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2026-11-19 21:20:53 -0600 |
| commit | 2c2f33519a3de635e61362565b0fc358154f9407 (patch) | |
| tree | 0f62db9eee5a221dcb994d346513fcca8a24c341 /Source/Core/AudioCommon/AudioCommon.cpp | |
| parent | 85e0ef84150672967572b4f7137d6d4cd0a42741 (diff) | |
AudioCommon: Remove ALSA audio backend.
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()) |
