From 26b94a447bbabec08d4bbe961d06c306785fb0b6 Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Sun, 21 Aug 2016 17:34:48 -0400 Subject: [PATCH] change a variable name --- src/effects/SBSMSEffect.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/effects/SBSMSEffect.cpp b/src/effects/SBSMSEffect.cpp index eb34d2d56..4464effb1 100644 --- a/src/effects/SBSMSEffect.cpp +++ b/src/effects/SBSMSEffect.cpp @@ -133,12 +133,12 @@ long resampleCB(void *cb_data, SBSMSFrame *data) long postResampleCB(void *cb_data, SBSMSFrame *data) { ResampleBuf *r = (ResampleBuf*) cb_data; - long sampleCount = r->sbsms->read(r->iface.get(), r->SBSMSBuf, r->SBSMSBlockSize); + auto count = r->sbsms->read(r->iface.get(), r->SBSMSBuf, r->SBSMSBlockSize); data->buf = r->SBSMSBuf; - data->size = sampleCount; + data->size = count; data->ratio0 = 1.0 / r->ratio; data->ratio1 = 1.0 / r->ratio; - return sampleCount; + return count; } void EffectSBSMS :: setParameters(double rateStart, double rateEnd, double pitchStart, double pitchEnd,