aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/winmm.cpp
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-04-24 09:03:14 -0700
committerChris Robinson <[email protected]>2021-04-24 09:03:14 -0700
commit581174ef98e92de89244412ddc94ae93d172e69c (patch)
tree4c818d345ed460a2656bff8ce9355e36c6e3ba26 /alc/backends/winmm.cpp
parentb54bb388a3dbd92518beef4bda03df5854aad1a9 (diff)
Use the DeviceBase for the backend
Diffstat (limited to 'alc/backends/winmm.cpp')
-rw-r--r--alc/backends/winmm.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/backends/winmm.cpp b/alc/backends/winmm.cpp
index 693c4664..c346a828 100644
--- a/alc/backends/winmm.cpp
+++ b/alc/backends/winmm.cpp
@@ -125,7 +125,7 @@ void ProbeCaptureDevices(void)
struct WinMMPlayback final : public BackendBase {
- WinMMPlayback(ALCdevice *device) noexcept : BackendBase{device} { }
+ WinMMPlayback(DeviceBase *device) noexcept : BackendBase{device} { }
~WinMMPlayback() override;
void CALLBACK waveOutProc(HWAVEOUT device, UINT msg, DWORD_PTR param1, DWORD_PTR param2) noexcept;
@@ -370,7 +370,7 @@ void WinMMPlayback::stop()
struct WinMMCapture final : public BackendBase {
- WinMMCapture(ALCdevice *device) noexcept : BackendBase{device} { }
+ WinMMCapture(DeviceBase *device) noexcept : BackendBase{device} { }
~WinMMCapture() override;
void CALLBACK waveInProc(HWAVEIN device, UINT msg, DWORD_PTR param1, DWORD_PTR param2) noexcept;
@@ -621,7 +621,7 @@ std::string WinMMBackendFactory::probe(BackendType type)
return outnames;
}
-BackendPtr WinMMBackendFactory::createBackend(ALCdevice *device, BackendType type)
+BackendPtr WinMMBackendFactory::createBackend(DeviceBase *device, BackendType type)
{
if(type == BackendType::Playback)
return BackendPtr{new WinMMPlayback{device}};