MCPcopy Create free account
hub / github.com/audacity/audacity / postResampleCB

Function postResampleCB

libraries/lib-builtin-effects/SBSMSBase.cpp:138–147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

136}
137
138long postResampleCB(void *cb_data, SBSMSFrame *data)
139{
140 ResampleBuf *r = (ResampleBuf*) cb_data;
141 auto count = r->sbsms->read(r->iface.get(), r->SBSMSBuf.get(), r->SBSMSBlockSize);
142 data->buf = r->SBSMSBuf.get();
143 data->size = count;
144 data->ratio0 = 1.0 / r->ratio;
145 data->ratio1 = 1.0 / r->ratio;
146 return count;
147}
148
149void SBSMSBase :: setParameters(double rateStartIn, double rateEndIn, double pitchStartIn, double pitchEndIn,
150 SlideType rateSlideTypeIn, SlideType pitchSlideTypeIn,

Callers

nothing calls this directly

Calls 2

readMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected