From ea55bd0df7d6e79b0f021c7b19385fadfa9dbd39 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Mon, 16 Nov 2026 00:54:13 -0600 Subject: AudioCommon: Remove PulseAudio audio backend. --- Source/Core/AudioCommon/AudioCommon.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'Source/Core/AudioCommon/AudioCommon.cpp') diff --git a/Source/Core/AudioCommon/AudioCommon.cpp b/Source/Core/AudioCommon/AudioCommon.cpp index 5a4dc78c96..6560f41c4f 100644 --- a/Source/Core/AudioCommon/AudioCommon.cpp +++ b/Source/Core/AudioCommon/AudioCommon.cpp @@ -11,7 +11,6 @@ #include "AudioCommon/NullSoundStream.h" #include "AudioCommon/OpenALStream.h" #include "AudioCommon/OpenSLESStream.h" -#include "AudioCommon/PulseAudioStream.h" #include "AudioCommon/WASAPIStream.h" #include "Common/FileUtil.h" #include "Common/Logging/Log.h" @@ -33,8 +32,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_PULSEAUDIO && PulseAudio::IsValid()) - return std::make_unique(); else if (backend == BACKEND_OPENSLES && OpenSLESStream::IsValid()) return std::make_unique(); else if (backend == BACKEND_WASAPI && WASAPIStream::IsValid()) @@ -112,8 +109,6 @@ std::vector GetSoundBackends() backends.emplace_back(BACKEND_NULLSOUND); if (CubebStream::IsValid()) backends.emplace_back(BACKEND_CUBEB); - if (PulseAudio::IsValid()) - backends.emplace_back(BACKEND_PULSEAUDIO); if (OpenALStream::IsValid()) backends.emplace_back(BACKEND_OPENAL); if (OpenSLESStream::IsValid()) @@ -139,8 +134,6 @@ bool SupportsDPL2Decoder(std::string_view backend) #endif if (AudioCommon::IsCubebBackend(backend)) return true; - if (backend == BACKEND_PULSEAUDIO) - return true; return false; } -- cgit v1.2.3