diff options
author | Chris Robinson <[email protected]> | 2019-06-09 02:20:30 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-06-09 02:20:30 -0700 |
commit | 90d25e5187ca50a6e978603fabb6395035ad0db5 (patch) | |
tree | b44cddd07f7f17227e60b049659bd999a11e78fb /Alc/backends/wasapi.cpp | |
parent | 2e154069c6aa3bfc9d00d420e2f508a4127dd649 (diff) |
Make sure the bitfield indices are constants
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; |