1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-24 16:20:05 +02:00

Fix more narrowings of sampleCount

This commit is contained in:
Paul Licameli 2016-08-22 18:06:34 -04:00
parent 8102e1717b
commit 127b2a6acf
3 changed files with 3 additions and 3 deletions

View File

@ -4383,7 +4383,7 @@ void TrackPanel::HandleSampleEditingClick( wxMouseEvent & event )
//Get a sample from the track to do some tricks on.
mDrawingTrack->Get((samplePtr)sampleRegion, floatSample,
(int)mDrawingStartSample - SMOOTHING_KERNEL_RADIUS - SMOOTHING_BRUSH_RADIUS,
mDrawingStartSample - SMOOTHING_KERNEL_RADIUS - SMOOTHING_BRUSH_RADIUS,
sampleRegionSize);
int i, j;

View File

@ -426,7 +426,7 @@ void WaveClip::ClearWaveCache()
}
///Adds an invalid region to the wavecache so it redraws that portion only.
void WaveClip::AddInvalidRegion(long startSample, long endSample)
void WaveClip::AddInvalidRegion(sampleCount startSample, sampleCount endSample)
{
ODLocker locker(&mWaveCacheMutex);
if(mWaveCache!=NULL)

View File

@ -360,7 +360,7 @@ public:
void ClearWaveCache();
///Adds an invalid region to the wavecache so it redraws that portion only.
void AddInvalidRegion(long startSample, long endSample);
void AddInvalidRegion(sampleCount startSample, sampleCount endSample);
//
// XMLTagHandler callback methods for loading and saving