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/pulseaudio.cpp | |
parent | 2e154069c6aa3bfc9d00d420e2f508a4127dd649 (diff) |
Make sure the bitfield indices are constants
Diffstat (limited to 'Alc/backends/pulseaudio.cpp')
-rw-r--r-- | Alc/backends/pulseaudio.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/pulseaudio.cpp b/Alc/backends/pulseaudio.cpp index 0b7257d1..6d4f387c 100644 --- a/Alc/backends/pulseaudio.cpp +++ b/Alc/backends/pulseaudio.cpp @@ -779,7 +779,7 @@ void PulsePlayback::sinkInfoCallback(pa_context* UNUSED(context), const pa_sink_ ); if(chanmap != chanmaps.cend()) { - if(!mDevice->Flags.get(ChannelsRequest)) + if(!mDevice->Flags.get<ChannelsRequest>()) mDevice->FmtChans = chanmap->chans; } else @@ -910,7 +910,7 @@ ALCboolean PulsePlayback::reset() flags |= PA_STREAM_ADJUST_LATENCY; } if(GetConfigValueBool(mDevice->DeviceName.c_str(), "pulse", "fix-rate", 0) || - !mDevice->Flags.get(FrequencyRequest)) + !mDevice->Flags.get<FrequencyRequest>()) flags |= PA_STREAM_FIX_RATE; pa_channel_map chanmap{}; |