mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-13 14:13:32 +02:00
Change sampleCount arguments, variables, return values to size_t...
... whenever they really describe the size of a buffer that fits in memory, or of a block file (which is never now more than a megabyte and so could be fit in memory all at once), or a part thereof.
This commit is contained in:
@@ -815,7 +815,7 @@ GStreamerImportFileHandle::OnNewSample(GStreamContext *c, GstSample *sample)
|
||||
auto nChannels = c->mNumChannels;
|
||||
sampleFormat fmt = c->mFmt;
|
||||
samplePtr data = (samplePtr) info.data;
|
||||
sampleCount samples = info.size / nChannels / SAMPLE_SIZE(fmt);
|
||||
size_t samples = info.size / nChannels / SAMPLE_SIZE(fmt);
|
||||
|
||||
// Add sample data to tracks...depends on interleaved src data
|
||||
for (int chn = 0; chn < nChannels; chn++)
|
||||
|
Reference in New Issue
Block a user