diff options
author | Chris Robinson <[email protected]> | 2021-04-24 09:03:14 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2021-04-24 09:03:14 -0700 |
commit | 581174ef98e92de89244412ddc94ae93d172e69c (patch) | |
tree | 4c818d345ed460a2656bff8ce9355e36c6e3ba26 /alc/backends/sndio.cpp | |
parent | b54bb388a3dbd92518beef4bda03df5854aad1a9 (diff) |
Use the DeviceBase for the backend
Diffstat (limited to 'alc/backends/sndio.cpp')
-rw-r--r-- | alc/backends/sndio.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/backends/sndio.cpp b/alc/backends/sndio.cpp index 35b7e6c8..c7c42210 100644 --- a/alc/backends/sndio.cpp +++ b/alc/backends/sndio.cpp @@ -46,7 +46,7 @@ static const char sndio_device[] = "SndIO Default"; struct SndioPlayback final : public BackendBase { - SndioPlayback(ALCdevice *device) noexcept : BackendBase{device} { } + SndioPlayback(DeviceBase *device) noexcept : BackendBase{device} { } ~SndioPlayback() override; int mixerProc(); @@ -293,7 +293,7 @@ void SndioPlayback::stop() struct SndioCapture final : public BackendBase { - SndioCapture(ALCdevice *device) noexcept : BackendBase{device} { } + SndioCapture(DeviceBase *device) noexcept : BackendBase{device} { } ~SndioCapture() override; int recordProc(); @@ -512,7 +512,7 @@ std::string SndIOBackendFactory::probe(BackendType type) return outnames; } -BackendPtr SndIOBackendFactory::createBackend(ALCdevice *device, BackendType type) +BackendPtr SndIOBackendFactory::createBackend(DeviceBase *device, BackendType type) { if(type == BackendType::Playback) return BackendPtr{new SndioPlayback{device}}; |