From 552d2b19180d4041067362507075ff44ff04b91f Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Mon, 20 Apr 2020 04:39:36 -0700 Subject: Set the device name in the Oboe backend --- alc/backends/oboe.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'alc') 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() -- cgit v1.2.3