output/wasapi: make configuration fields const

This commit is contained in:
Max Kellermann 2021-03-10 19:58:32 +01:00
parent 5907656bbb
commit 08135f2cb7

View File

@ -230,10 +230,10 @@ private:
class WasapiOutput final : public AudioOutput { class WasapiOutput final : public AudioOutput {
std::atomic_flag not_interrupted = true; std::atomic_flag not_interrupted = true;
bool is_started = false; bool is_started = false;
bool is_exclusive; const bool is_exclusive;
bool enumerate_devices; const bool enumerate_devices;
#ifdef ENABLE_DSD #ifdef ENABLE_DSD
bool dop_setting; const bool dop_setting;
#endif #endif
std::string device_config; std::string device_config;
std::shared_ptr<COMWorker> com_worker; std::shared_ptr<COMWorker> com_worker;