summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2021-03-10 19:59:57 +0100
committerMax Kellermann <max@musicpd.org>2021-03-10 20:00:08 +0100
commit1da27be84d9b4736e8980191061eae0260b6fa30 (patch)
tree46a151d320bdf312d8ac54ec288c77ca208f90ff /src
parent08135f2cb752b59a91eb0536a59911d18138b22a (diff)
output/wasapi: move runtime fields below configuration fields
Diffstat (limited to 'src')
-rw-r--r--src/output/plugins/wasapi/WasapiOutputPlugin.cxx6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/output/plugins/wasapi/WasapiOutputPlugin.cxx b/src/output/plugins/wasapi/WasapiOutputPlugin.cxx
index 944ec9370..e324afc6f 100644
--- a/src/output/plugins/wasapi/WasapiOutputPlugin.cxx
+++ b/src/output/plugins/wasapi/WasapiOutputPlugin.cxx
@@ -228,13 +228,15 @@ private:
};
class WasapiOutput final : public AudioOutput {
- std::atomic_flag not_interrupted = true;
- bool is_started = false;
const bool is_exclusive;
const bool enumerate_devices;
#ifdef ENABLE_DSD
const bool dop_setting;
#endif
+
+ bool is_started = false;
+ std::atomic_flag not_interrupted = true;
+
std::string device_config;
std::shared_ptr<COMWorker> com_worker;
ComPtr<IMMDevice> device;