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
1 changed files with 3 additions and 3 deletions

View File

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