diff options
Diffstat (limited to 'Alc/backends/oss.cpp')
-rw-r--r-- | Alc/backends/oss.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Alc/backends/oss.cpp b/Alc/backends/oss.cpp index 90da18c7..776d665b 100644 --- a/Alc/backends/oss.cpp +++ b/Alc/backends/oss.cpp @@ -751,11 +751,11 @@ void OSSBackendFactory::probe(DevProbe type, std::string *outnames) } } -BackendBase *OSSBackendFactory::createBackend(ALCdevice *device, BackendType type) +BackendPtr OSSBackendFactory::createBackend(ALCdevice *device, BackendType type) { if(type == BackendType::Playback) - return new OSSPlayback{device}; + return BackendPtr{new OSSPlayback{device}}; if(type == BackendType::Capture) - return new OSScapture{device}; + return BackendPtr{new OSScapture{device}}; return nullptr; } |