1
0
mirror of https://github.com/cookiengineer/audacity synced 2026-04-01 03:54:47 +02:00

Remove unnecessary casts to sampleCount

This commit is contained in:
Paul Licameli
2016-08-24 08:02:09 -04:00
parent fd2b050d6f
commit 52417c444d
10 changed files with 19 additions and 21 deletions

View File

@@ -1851,7 +1851,7 @@ bool WaveTrack::Unlock() const
AUDACITY_DLL_API sampleCount WaveTrack::TimeToLongSamples(double t0) const
{
return (sampleCount)floor(t0 * mRate + 0.5);
return floor(t0 * mRate + 0.5);
}
double WaveTrack::LongSamplesToTime(sampleCount pos) const