aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2018-11-28 15:09:19 -0800
committerChris Robinson <[email protected]>2018-11-28 15:09:19 -0800
commitc3c0a5022a4b9d429c90cd7e6f3fc1bd284efd24 (patch)
tree3a7c54e766d66311eb3adfd6d4f72334148df1b6
parent14d746e7c2614d17c5c00bf3ec8433bda1501638 (diff)
Don't bother with (really) old pulseaudio headers
-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{};