output/wasapi: make device_config const

This commit is contained in:
Max Kellermann 2021-03-10 20:05:03 +01:00
parent 1da27be84d
commit 14f0134097

View File

@ -237,7 +237,8 @@ class WasapiOutput final : public AudioOutput {
bool is_started = false; bool is_started = false;
std::atomic_flag not_interrupted = true; std::atomic_flag not_interrupted = true;
std::string device_config; const std::string device_config;
std::shared_ptr<COMWorker> com_worker; std::shared_ptr<COMWorker> com_worker;
ComPtr<IMMDevice> device; ComPtr<IMMDevice> device;
ComPtr<IAudioClient> client; ComPtr<IAudioClient> client;