diff options
Diffstat (limited to 'Alc/backends')
-rw-r--r-- | Alc/backends/loopback.cpp | 13 | ||||
-rw-r--r-- | Alc/backends/null.cpp | 10 |
2 files changed, 5 insertions, 18 deletions
diff --git a/Alc/backends/loopback.cpp b/Alc/backends/loopback.cpp index 85c0a26e..843cb18e 100644 --- a/Alc/backends/loopback.cpp +++ b/Alc/backends/loopback.cpp @@ -88,20 +88,13 @@ void ALCloopback_stop(ALCloopback* UNUSED(self)) bool LoopbackBackendFactory::init() -{ - return true; -} +{ return true; } bool LoopbackBackendFactory::querySupport(ALCbackend_Type type) -{ - if(type == ALCbackend_Loopback) - return true; - return false; -} +{ return (type == ALCbackend_Loopback); } void LoopbackBackendFactory::probe(enum DevProbe, std::string*) -{ -} +{ } ALCbackend *LoopbackBackendFactory::createBackend(ALCdevice *device, ALCbackend_Type type) { diff --git a/Alc/backends/null.cpp b/Alc/backends/null.cpp index d376ccdf..c9ba8de7 100644 --- a/Alc/backends/null.cpp +++ b/Alc/backends/null.cpp @@ -179,16 +179,10 @@ void ALCnullBackend_stop(ALCnullBackend *self) bool NullBackendFactory::init() -{ - return true; -} +{ return true; } bool NullBackendFactory::querySupport(ALCbackend_Type type) -{ - if(type == ALCbackend_Playback) - return true; - return false; -} +{ return (type == ALCbackend_Playback); } void NullBackendFactory::probe(enum DevProbe type, std::string *outnames) { |