aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/alc.cpp')
-rw-r--r--alc/alc.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp
index 654f3fb2..a7c36d5c 100644
--- a/alc/alc.cpp
+++ b/alc/alc.cpp
@@ -1666,7 +1666,6 @@ ALCenum UpdateDeviceParams(ALCdevice *device, const int *attrList)
const double scale{static_cast<double>(*optsrate) / DEFAULT_OUTPUT_RATE};
period_size = static_cast<uint>(period_size*scale + 0.5);
- buffer_size = static_cast<uint>(buffer_size*scale + 0.5);
}
if(auto persizeopt = device->configValue<uint>(nullptr, "period_size"))