Remove redundant test (processOneChunk checks this and returns true if accumulator empty when draining)
This commit is contained in:
@@ -1206,7 +1206,7 @@ R2Stretcher::available() const
|
|||||||
// ^^^ yes, we do sometimes -- e.g. when fed a very short file
|
// ^^^ yes, we do sometimes -- e.g. when fed a very short file
|
||||||
if (m_realtime) {
|
if (m_realtime) {
|
||||||
while (m_channelData[0]->inbuf->getReadSpace() > 0 ||
|
while (m_channelData[0]->inbuf->getReadSpace() > 0 ||
|
||||||
(m_channelData[0]->accumulatorFill > 0 && m_channelData[0]->draining)) {
|
m_channelData[0]->draining) {
|
||||||
m_log.log(2, "calling processOneChunk from available");
|
m_log.log(2, "calling processOneChunk from available");
|
||||||
if (((R2Stretcher *)this)->processOneChunk()) {
|
if (((R2Stretcher *)this)->processOneChunk()) {
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user