aboutsummaryrefslogtreecommitdiffstats
path: root/alc/backends/oboe.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/oboe.cpp
parentb54bb388a3dbd92518beef4bda03df5854aad1a9 (diff)
Use the DeviceBase for the backend
Diffstat (limited to 'alc/backends/oboe.cpp')
-rw-r--r--alc/backends/oboe.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/backends/oboe.cpp b/alc/backends/oboe.cpp
index b94a0882..d82db834 100644
--- a/alc/backends/oboe.cpp
+++ b/alc/backends/oboe.cpp
@@ -18,7 +18,7 @@ constexpr char device_name[] = "Oboe Default";
struct OboePlayback final : public BackendBase, public oboe::AudioStreamCallback {
- OboePlayback(ALCdevice *device) : BackendBase{device} { }
+ OboePlayback(DeviceBase *device) : BackendBase{device} { }
oboe::ManagedStream mStream;
@@ -221,7 +221,7 @@ void OboePlayback::stop()
struct OboeCapture final : public BackendBase {
- OboeCapture(ALCdevice *device) : BackendBase{device} { }
+ OboeCapture(DeviceBase *device) : BackendBase{device} { }
oboe::ManagedStream mStream;
@@ -368,7 +368,7 @@ std::string OboeBackendFactory::probe(BackendType type)
return std::string{};
}
-BackendPtr OboeBackendFactory::createBackend(ALCdevice *device, BackendType type)
+BackendPtr OboeBackendFactory::createBackend(DeviceBase *device, BackendType type)
{
if(type == BackendType::Playback)
return BackendPtr{new OboePlayback{device}};