diff options
Diffstat (limited to 'Alc/backends/wasapi.cpp')
-rw-r--r-- | Alc/backends/wasapi.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/wasapi.cpp b/Alc/backends/wasapi.cpp index 6c3dc6e6..84e85fe6 100644 --- a/Alc/backends/wasapi.cpp +++ b/Alc/backends/wasapi.cpp @@ -787,9 +787,9 @@ HRESULT WasapiPlayback::resetProxy() const REFERENCE_TIME per_time{mDevice->UpdateSize * REFTIME_PER_SEC / mDevice->Frequency}; const REFERENCE_TIME buf_time{mDevice->BufferSize * REFTIME_PER_SEC / mDevice->Frequency}; - if(!mDevice->Flags.get(FrequencyRequest)) + if(!mDevice->Flags.get<FrequencyRequest>()) mDevice->Frequency = OutputType.Format.nSamplesPerSec; - if(!mDevice->Flags.get(ChannelsRequest)) + if(!mDevice->Flags.get<ChannelsRequest>()) { if(OutputType.Format.nChannels == 1 && OutputType.dwChannelMask == MONO) mDevice->FmtChans = DevFmtMono; |