Commit 3a0dbb0a authored by Max Kellermann's avatar Max Kellermann

output/wasapi: make WasapiOutputThread::is_exclusive const

parent 3d6c9d1b
...@@ -165,7 +165,7 @@ class WasapiOutputThread : public Thread { ...@@ -165,7 +165,7 @@ class WasapiOutputThread : public Thread {
ComPtr<IAudioRenderClient> render_client; ComPtr<IAudioRenderClient> render_client;
const UINT32 frame_size; const UINT32 frame_size;
const UINT32 buffer_size_in_frames; const UINT32 buffer_size_in_frames;
bool is_exclusive; const bool is_exclusive;
enum class Status : uint32_t { FINISH, PLAY, PAUSE }; enum class Status : uint32_t { FINISH, PLAY, PAUSE };
alignas(BOOST_LOCKFREE_CACHELINE_BYTES) std::atomic<Status> status = alignas(BOOST_LOCKFREE_CACHELINE_BYTES) std::atomic<Status> status =
......
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