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

View File

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