Commit 1da27be8 authored by Max Kellermann's avatar Max Kellermann

output/wasapi: move runtime fields below configuration fields

parent 08135f2c
...@@ -228,13 +228,15 @@ private: ...@@ -228,13 +228,15 @@ private:
}; };
class WasapiOutput final : public AudioOutput { class WasapiOutput final : public AudioOutput {
std::atomic_flag not_interrupted = true;
bool is_started = false;
const bool is_exclusive; const bool is_exclusive;
const bool enumerate_devices; const bool enumerate_devices;
#ifdef ENABLE_DSD #ifdef ENABLE_DSD
const bool dop_setting; const bool dop_setting;
#endif #endif
bool is_started = false;
std::atomic_flag not_interrupted = true;
std::string device_config; std::string device_config;
std::shared_ptr<COMWorker> com_worker; std::shared_ptr<COMWorker> com_worker;
ComPtr<IMMDevice> device; ComPtr<IMMDevice> device;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment