From 14f0134097664a8bf6ba9ee36863378207127eba Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 10 Mar 2021 20:05:03 +0100 Subject: [PATCH] output/wasapi: make device_config `const` --- src/output/plugins/wasapi/WasapiOutputPlugin.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/output/plugins/wasapi/WasapiOutputPlugin.cxx b/src/output/plugins/wasapi/WasapiOutputPlugin.cxx index e324afc6f..a1c3d69ee 100644 --- a/src/output/plugins/wasapi/WasapiOutputPlugin.cxx +++ b/src/output/plugins/wasapi/WasapiOutputPlugin.cxx @@ -237,7 +237,8 @@ class WasapiOutput final : public AudioOutput { bool is_started = false; std::atomic_flag not_interrupted = true; - std::string device_config; + const std::string device_config; + std::shared_ptr com_worker; ComPtr device; ComPtr client;