From c3c0a5022a4b9d429c90cd7e6f3fc1bd284efd24 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Wed, 28 Nov 2018 15:09:19 -0800 Subject: Don't bother with (really) old pulseaudio headers --- Alc/backends/pulseaudio.cpp | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'Alc') 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 -#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{}; -- cgit v1.2.3