From 2c2f33519a3de635e61362565b0fc358154f9407 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Sun, 15 Nov 2026 23:33:29 -0600 Subject: AudioCommon: Remove ALSA audio backend. --- Source/Core/AudioCommon/AudioCommon.cpp | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'Source/Core/AudioCommon/AudioCommon.cpp') 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 #include -#include "AudioCommon/AlsaSoundStream.h" #include "AudioCommon/CubebStream.h" #include "AudioCommon/Mixer.h" #include "AudioCommon/NullSoundStream.h" @@ -34,8 +33,6 @@ static std::unique_ptr CreateSoundStreamForBackend(std::string_view return std::make_unique(); else if (backend == BACKEND_NULLSOUND) return std::make_unique(); - else if (backend == BACKEND_ALSA && AlsaSound::IsValid()) - return std::make_unique(); else if (backend == BACKEND_PULSEAUDIO && PulseAudio::IsValid()) return std::make_unique(); 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 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()) -- cgit v1.2.3