aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/jack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/jack.cpp')
-rw-r--r--Alc/backends/jack.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/jack.cpp b/Alc/backends/jack.cpp
index eb96392f..e917d3e6 100644
--- a/Alc/backends/jack.cpp
+++ b/Alc/backends/jack.cpp
@@ -558,10 +558,10 @@ void JackBackendFactory::probe(DevProbe type, std::string *outnames)
}
}
-BackendBase *JackBackendFactory::createBackend(ALCdevice *device, BackendType type)
+BackendPtr JackBackendFactory::createBackend(ALCdevice *device, BackendType type)
{
if(type == BackendType::Playback)
- return new JackPlayback{device};
+ return BackendPtr{new JackPlayback{device}};
return nullptr;
}