diff options
author | Chris Robinson <[email protected]> | 2019-06-08 23:49:15 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2019-06-08 23:49:15 -0700 |
commit | 2e154069c6aa3bfc9d00d420e2f508a4127dd649 (patch) | |
tree | aa31339329f8fd04178d94b8a35a3d6314be5fd9 /Alc/backends/alsa.cpp | |
parent | c9ba7ba19353c9cf55dec668b2b059c267d1b0ea (diff) |
Use a bitfield for the device flags
Diffstat (limited to 'Alc/backends/alsa.cpp')
-rw-r--r-- | Alc/backends/alsa.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/backends/alsa.cpp b/Alc/backends/alsa.cpp index eee89b28..1c0d7489 100644 --- a/Alc/backends/alsa.cpp +++ b/Alc/backends/alsa.cpp @@ -725,7 +725,7 @@ ALCboolean AlsaPlayback::reset() CHECK(snd_pcm_hw_params_set_channels(mPcmHandle, hp, mDevice->channelsFromFmt())); /* set rate (implicitly constrains period/buffer parameters) */ if(!GetConfigValueBool(mDevice->DeviceName.c_str(), "alsa", "allow-resampler", 0) || - !(mDevice->Flags&DEVICE_FREQUENCY_REQUEST)) + !mDevice->Flags.get(FrequencyRequest)) { if(snd_pcm_hw_params_set_rate_resample(mPcmHandle, hp, 0) < 0) ERR("Failed to disable ALSA resampler\n"); |