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

Method CurrentQueueSize

libraries/lib-fft/SpectrumTransformer.cpp:258–269  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

256}
257
258size_t SpectrumTransformer::CurrentQueueSize() const
259{
260 auto allocSize = mQueue.size();
261 auto size = mOutStepCount + allocSize;
262 if (mLeadingPadding)
263 size += mStepsPerWindow - 1;
264
265 if (size < allocSize)
266 return size.as_size_t();
267 else
268 return allocSize;
269}
270
271// Formerly part of EffectNoiseReduction::Worker::ReduceNoise()
272void SpectrumTransformer::OutputStep()

Callers 1

ReduceNoiseMethod · 0.80

Calls 2

as_size_tMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected