aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/solaris.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/solaris.cpp
parentb54bb388a3dbd92518beef4bda03df5854aad1a9 (diff)
Use the DeviceBase for the backend
Diffstat (limited to 'alc/backends/solaris.cpp')
-rw-r--r--alc/backends/solaris.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/alc/backends/solaris.cpp b/alc/backends/solaris.cpp
index 7739cba7..20414543 100644
--- a/alc/backends/solaris.cpp
+++ b/alc/backends/solaris.cpp
@@ -59,7 +59,7 @@ std::string solaris_driver{"/dev/audio"};
struct SolarisBackend final : public BackendBase {
- SolarisBackend(ALCdevice *device) noexcept : BackendBase{device} { }
+ SolarisBackend(DeviceBase *device) noexcept : BackendBase{device} { }
~SolarisBackend() override;
int mixerProc();
@@ -295,7 +295,7 @@ std::string SolarisBackendFactory::probe(BackendType type)
return outnames;
}
-BackendPtr SolarisBackendFactory::createBackend(ALCdevice *device, BackendType type)
+BackendPtr SolarisBackendFactory::createBackend(DeviceBase *device, BackendType type)
{
if(type == BackendType::Playback)
return BackendPtr{new SolarisBackend{device}};