aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/qsa.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/qsa.cpp')
-rw-r--r--Alc/backends/qsa.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/backends/qsa.cpp b/Alc/backends/qsa.cpp
index 0c695d92..abf046b1 100644
--- a/Alc/backends/qsa.cpp
+++ b/Alc/backends/qsa.cpp
@@ -952,12 +952,12 @@ void QSABackendFactory::probe(DevProbe type, std::string *outnames)
}
}
-BackendBase *QSABackendFactory::createBackend(ALCdevice *device, BackendType type)
+BackendPtr QSABackendFactory::createBackend(ALCdevice *device, BackendType type)
{
if(type == BackendType::Playback)
- return new PlaybackWrapper{device};
+ return BackendPtr{new PlaybackWrapper{device}};
if(type == BackendType::Capture)
- return new CaptureWrapper{device};
+ return BackendPtr{new CaptureWrapper{device}};
return nullptr;
}