mirror of
https://github.com/cookiengineer/audacity
synced 2025-12-13 08:06:32 +01:00
Fix Windows build differently
This commit is contained in:
@@ -110,13 +110,13 @@ bool CompareAudioCommand::Apply(CommandExecutionContext context)
|
||||
while (position < s1)
|
||||
{
|
||||
// Get a block of data into the buffers
|
||||
const auto block = limitSampleBufferSize(
|
||||
auto block = limitSampleBufferSize(
|
||||
mTrack0->GetBestBlockSize(position), s1 - position
|
||||
);
|
||||
mTrack0->Get((samplePtr)buff0, floatSample, position, block);
|
||||
mTrack1->Get((samplePtr)buff1, floatSample, position, block);
|
||||
|
||||
for (auto buffPos = 0; buffPos < block; ++buffPos)
|
||||
for (decltype(block) buffPos = 0; buffPos < block; ++buffPos)
|
||||
{
|
||||
if (CompareSample(buff0[buffPos], buff1[buffPos]) > errorThreshold)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user