mirror of
https://github.com/cookiengineer/audacity
synced 2025-06-24 08:10:05 +02:00
Fix more narrowings of sampleCount
This commit is contained in:
parent
8102e1717b
commit
127b2a6acf
@ -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;
|
||||
|
||||
|
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user