diff options
Diffstat (limited to 'Alc/backends/wave.cpp')
-rw-r--r-- | Alc/backends/wave.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/wave.cpp b/Alc/backends/wave.cpp index ef0f6db7..435de766 100644 --- a/Alc/backends/wave.cpp +++ b/Alc/backends/wave.cpp @@ -380,10 +380,10 @@ void WaveBackendFactory::probe(DevProbe type, std::string *outnames) } } -BackendBase *WaveBackendFactory::createBackend(ALCdevice *device, BackendType type) +BackendPtr WaveBackendFactory::createBackend(ALCdevice *device, BackendType type) { if(type == BackendType::Playback) - return new WaveBackend{device}; + return BackendPtr{new WaveBackend{device}}; return nullptr; } |