mirror of
https://github.com/cookiengineer/audacity
synced 2025-10-21 06:01:13 +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:
@@ -27,7 +27,7 @@
|
||||
RingBuffer::RingBuffer(sampleFormat format, size_t size)
|
||||
: mFormat{ format }
|
||||
, mBufferSize{ std::max<size_t>(size, 64) }
|
||||
, mBuffer( mBufferSize, mFormat )
|
||||
, mBuffer{ mBufferSize, mFormat }
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user