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

fix windows build

This commit is contained in:
Paul Licameli 2017-03-31 22:53:58 -04:00
parent 2c84657622
commit 7195f9a3f4

View File

@ -1102,7 +1102,7 @@ void WaveTrack::HandleClear(double t0, double t1,
} }
} }
if (!clip->Clear(t0,t1)) if (!clip->Clear(t0,t1))
return false; return;
clip->GetEnvelope()->RemoveUnneededPoints(t0); clip->GetEnvelope()->RemoveUnneededPoints(t0);
} }
} }
@ -1297,7 +1297,8 @@ void WaveTrack::Paste(double t0, const Track *src)
} }
} }
return insideClip->Paste(t0, other->GetClipByIndex(0)); insideClip->Paste(t0, other->GetClipByIndex(0));
return;
} }
// Just fall through and exhibit NEW behaviour // Just fall through and exhibit NEW behaviour
@ -2492,7 +2493,7 @@ void WaveTrack::Resample(int rate, ProgressDialog *progress)
wxLogDebug( wxT("Resampling problem! We're partially resampled") ); wxLogDebug( wxT("Resampling problem! We're partially resampled") );
// FIXME: The track is now in an inconsistent state since some // FIXME: The track is now in an inconsistent state since some
// clips are resampled and some are not // clips are resampled and some are not
return false; return;
} }
mRate = rate; mRate = rate;