From 581174ef98e92de89244412ddc94ae93d172e69c Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 24 Apr 2021 09:03:14 -0700 Subject: Use the DeviceBase for the backend --- alc/backends/null.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alc/backends/null.cpp') diff --git a/alc/backends/null.cpp b/alc/backends/null.cpp index d3dfc3a4..763d4d2e 100644 --- a/alc/backends/null.cpp +++ b/alc/backends/null.cpp @@ -47,7 +47,7 @@ constexpr char nullDevice[] = "No Output"; struct NullBackend final : public BackendBase { - NullBackend(ALCdevice *device) noexcept : BackendBase{device} { } + NullBackend(DeviceBase *device) noexcept : BackendBase{device} { } int mixerProc(); @@ -166,7 +166,7 @@ std::string NullBackendFactory::probe(BackendType type) return outnames; } -BackendPtr NullBackendFactory::createBackend(ALCdevice *device, BackendType type) +BackendPtr NullBackendFactory::createBackend(DeviceBase *device, BackendType type) { if(type == BackendType::Playback) return BackendPtr{new NullBackend{device}}; -- cgit v1.2.3