diff options
author | Max Kellermann <max@musicpd.org> | 2021-03-08 22:08:20 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2021-03-08 22:09:23 +0100 |
commit | 3a0dbb0a6750e9a62de8716a8d312484b475be0d (patch) | |
tree | 52da76d8394f46507e20d995fbeeeab7180993d6 /src/output | |
parent | 3d6c9d1b88c5fd5d056b5ece27111b7178319284 (diff) |
output/wasapi: make WasapiOutputThread::is_exclusive const
Diffstat (limited to 'src/output')
-rw-r--r-- | src/output/plugins/wasapi/WasapiOutputPlugin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/plugins/wasapi/WasapiOutputPlugin.cxx b/src/output/plugins/wasapi/WasapiOutputPlugin.cxx index 4c7353c18..19a8ddf2e 100644 --- a/src/output/plugins/wasapi/WasapiOutputPlugin.cxx +++ b/src/output/plugins/wasapi/WasapiOutputPlugin.cxx @@ -165,7 +165,7 @@ class WasapiOutputThread : public Thread { ComPtr<IAudioRenderClient> render_client; const UINT32 frame_size; const UINT32 buffer_size_in_frames; - bool is_exclusive; + const bool is_exclusive; enum class Status : uint32_t { FINISH, PLAY, PAUSE }; alignas(BOOST_LOCKFREE_CACHELINE_BYTES) std::atomic<Status> status = |