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