aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/null.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/null.cpp')
-rw-r--r--Alc/backends/null.cpp10
1 files changed, 2 insertions, 8 deletions
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)
{