aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/loopback.cpp
diff options
context:
space:
mode:
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 bf4ab246..2972fc01 100644
--- a/alc/backends/loopback.cpp
+++ b/alc/backends/loopback.cpp
@@ -30,7 +30,7 @@ namespace {
struct LoopbackBackend final : public BackendBase {
LoopbackBackend(DeviceBase *device) noexcept : BackendBase{device} { }
- void open(const char *name) override;
+ void open(std::string_view name) override;
bool reset() override;
void start() override;
void stop() override;
@@ -39,7 +39,7 @@ struct LoopbackBackend final : public BackendBase {
};
-void LoopbackBackend::open(const char *name)
+void LoopbackBackend::open(std::string_view name)
{
mDevice->DeviceName = name;
}