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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user