summaryrefslogtreecommitdiff
path: root/Source/Core/AudioCommon/AudioCommon.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/AudioCommon/AudioCommon.cpp')
-rw-r--r--Source/Core/AudioCommon/AudioCommon.cpp7
1 files changed, 0 insertions, 7 deletions
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<SoundStream> CreateSoundStreamForBackend(std::string_view
return std::make_unique<OpenALStream>();
else if (backend == BACKEND_NULLSOUND)
return std::make_unique<NullSound>();
- else if (backend == BACKEND_PULSEAUDIO && PulseAudio::IsValid())
- return std::make_unique<PulseAudio>();
else if (backend == BACKEND_OPENSLES && OpenSLESStream::IsValid())
return std::make_unique<OpenSLESStream>();
else if (backend == BACKEND_WASAPI && WASAPIStream::IsValid())
@@ -112,8 +109,6 @@ std::vector<std::string> 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;
}