output/wasapi: make WasapiOutputThread::is_exclusive const

This commit is contained in:
Max Kellermann 2021-03-08 22:08:20 +01:00
parent 3d6c9d1b88
commit 3a0dbb0a67
1 changed files with 1 additions and 1 deletions

View File

@ -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 =