1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-19 09:01:15 +02:00

Change almost all uses of WaveTrack::Get() to GetFloats() ...

... A call graph browser easily shows that the extra generality of fetching
samples in some other format is only used in Benchmark -- where the format is
always the same as what the track is constructed with.

This makes re-verification of the claims in comments two commits ago easier.
This commit is contained in:
Paul Licameli
2021-05-23 17:43:38 -04:00
parent 0aa8625cff
commit f369b5109b
30 changed files with 97 additions and 67 deletions

View File

@@ -453,12 +453,12 @@ bool VampEffect::Process()
if (left)
{
left->Get((samplePtr)data[0].get(), floatSample, pos, request);
left->GetFloats(data[0].get(), pos, request);
}
if (right)
{
right->Get((samplePtr)data[1].get(), floatSample, pos, request);
right->GetFloats(data[1].get(), pos, request);
}
if (request < block)