aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/pulseaudio.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/pulseaudio.cpp')
-rw-r--r--Alc/backends/pulseaudio.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/Alc/backends/pulseaudio.cpp b/Alc/backends/pulseaudio.cpp
index 51b7c0a9..b7dcd87c 100644
--- a/Alc/backends/pulseaudio.cpp
+++ b/Alc/backends/pulseaudio.cpp
@@ -39,7 +39,6 @@
#include <pulse/pulseaudio.h>
-#if PA_API_VERSION == 12
namespace {
@@ -1835,24 +1834,6 @@ ALCbackend *PulseBackendFactory::createBackend(ALCdevice *device, ALCbackend_Typ
return nullptr;
}
-
-#else /* PA_API_VERSION == 12 */
-
-#warning "Unsupported API version, backend will be unavailable!"
-
-bool PulseBackendFactory::init() { return false; }
-
-void PulseBackendFactory::deinit() { }
-
-bool PulseBackendFactory::querySupport(ALCbackend_Type) { return false; }
-
-void PulseBackendFactory::probe(enum DevProbe, std::string*) { }
-
-ALCbackend *PulseBackendFactory::createBackend(ALCdevice*, ALCbackend_Type)
-{ return nullptr; }
-
-#endif /* PA_API_VERSION == 12 */
-
BackendFactory &PulseBackendFactory::getFactory()
{
static PulseBackendFactory factory{};