diff options
Diffstat (limited to 'alc/backends/oboe.cpp')
-rw-r--r-- | alc/backends/oboe.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/alc/backends/oboe.cpp b/alc/backends/oboe.cpp index d84cea8e..b94a0882 100644 --- a/alc/backends/oboe.cpp +++ b/alc/backends/oboe.cpp @@ -64,9 +64,10 @@ void OboePlayback::open(const char *name) name}; /* Open a basic output stream, just to ensure it can work. */ + oboe::ManagedStream stream; oboe::Result result{oboe::AudioStreamBuilder{}.setDirection(oboe::Direction::Output) ->setPerformanceMode(oboe::PerformanceMode::LowLatency) - ->openManagedStream(mStream)}; + ->openManagedStream(stream)}; if(result != oboe::Result::OK) throw al::backend_exception{al::backend_error::DeviceError, "Failed to create stream: %s", oboe::convertToText(result)}; |