mirror of
https://github.com/cookiengineer/audacity
synced 2025-07-17 17:17:40 +02:00
Revert "Fix compilation on Windows."
This reverts commit 21e4847b90eae9fca29bfe3fb99beb66aec78d57.
This commit is contained in:
parent
5803c31801
commit
8407ef1e6c
@ -70,11 +70,10 @@ RingBuffer::~RingBuffer()
|
|||||||
|
|
||||||
size_t RingBuffer::Len()
|
size_t RingBuffer::Len()
|
||||||
{
|
{
|
||||||
#ifndef REWRITE_RING_BUFFER
|
#ifdef REWRITE_RING_BUFFER
|
||||||
return (mEnd + mBufferSize - mStart) % mBufferSize;
|
return (mEnd + mBufferSize - mStart) % mBufferSize;
|
||||||
#else
|
#else
|
||||||
assert(false);
|
assert(false);
|
||||||
return 0;
|
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user