aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/loopback.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2020-03-30 15:37:41 -0700
committerChris Robinson <[email protected]>2020-03-30 15:37:41 -0700
commitf2ddf971df5cbbd112e0d677b0ea5bd6368051dc (patch)
tree8142af1d3cde52f61c30d88951aeff00cb3f2b39 /alc/backends/loopback.cpp
parent167bdce48d1656569cf63448fc2328800288c38f (diff)
Return the enumerated device names from the backend
Rather than using an out parameter.
Diffstat (limited to 'alc/backends/loopback.cpp')
-rw-r--r--alc/backends/loopback.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/backends/loopback.cpp b/alc/backends/loopback.cpp
index 511061f3..44ac68d1 100644
--- a/alc/backends/loopback.cpp
+++ b/alc/backends/loopback.cpp
@@ -66,8 +66,8 @@ bool LoopbackBackendFactory::init()
bool LoopbackBackendFactory::querySupport(BackendType)
{ return true; }
-void LoopbackBackendFactory::probe(DevProbe, std::string*)
-{ }
+std::string LoopbackBackendFactory::probe(DevProbe)
+{ return std::string{}; }
BackendPtr LoopbackBackendFactory::createBackend(ALCdevice *device, BackendType)
{ return BackendPtr{new LoopbackBackend{device}}; }