mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-26 23:33:49 +01: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:
@@ -38,7 +38,7 @@ CrossFader::~CrossFader()
|
||||
|
||||
|
||||
bool CrossFader::GetSamples(samplePtr buffer, sampleFormat format,
|
||||
sampleCount start, sampleCount len)
|
||||
sampleCount start, size_t len)
|
||||
{
|
||||
switch (mType)
|
||||
{
|
||||
@@ -57,7 +57,7 @@ bool CrossFader::GetSamples(samplePtr buffer, sampleFormat format,
|
||||
|
||||
}
|
||||
|
||||
bool CrossFader::CrossFadeMix(samplePtr buffer, sampleFormat format, sampleCount start, sampleCount len)
|
||||
bool CrossFader::CrossFadeMix(samplePtr buffer, sampleFormat format, sampleCount start, size_t len)
|
||||
{
|
||||
|
||||
std::cout << "Crossfading from " << start.as_long_long()
|
||||
|
||||
Reference in New Issue
Block a user