diff options
author | Chris Robinson <[email protected]> | 2020-04-20 04:39:36 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-04-20 04:39:36 -0700 |
commit | 552d2b19180d4041067362507075ff44ff04b91f (patch) | |
tree | 2721446499f1c000fc96e10a31d0f7e702b38183 /alc | |
parent | 947826af1c14e511dc298bbeba0a7dfeedc985a0 (diff) |
Set the device name in the Oboe backend
Diffstat (limited to 'alc')
-rw-r--r-- | alc/backends/oboe.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/alc/backends/oboe.cpp b/alc/backends/oboe.cpp index 7137e90a..04bb9cf4 100644 --- a/alc/backends/oboe.cpp +++ b/alc/backends/oboe.cpp @@ -69,6 +69,8 @@ void OboePlayback::open(const ALCchar *name) if(result != oboe::Result::OK) throw al::backend_exception{ALC_INVALID_VALUE, "Failed to create stream: %s", oboe::convertToText(result)}; + + mDevice->DeviceName = name; } bool OboePlayback::reset() |