mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-19 14:17:41 +02:00
change a variable name
This commit is contained in:
parent
39df8d0b51
commit
26b94a447b
@ -133,12 +133,12 @@ long resampleCB(void *cb_data, SBSMSFrame *data)
|
|||||||
long postResampleCB(void *cb_data, SBSMSFrame *data)
|
long postResampleCB(void *cb_data, SBSMSFrame *data)
|
||||||
{
|
{
|
||||||
ResampleBuf *r = (ResampleBuf*) cb_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->buf = r->SBSMSBuf;
|
||||||
data->size = sampleCount;
|
data->size = count;
|
||||||
data->ratio0 = 1.0 / r->ratio;
|
data->ratio0 = 1.0 / r->ratio;
|
||||||
data->ratio1 = 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,
|
void EffectSBSMS :: setParameters(double rateStart, double rateEnd, double pitchStart, double pitchEnd,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user