mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 14:24:22 +02:00
remove an unecessary condition in Audio.cpp
This commit is contained in:
parent
bb93c64d8d
commit
30b22a13ad
1 changed files with 1 additions and 3 deletions
|
@ -425,9 +425,7 @@ void Audio::addReceivedAudioToBuffer(const QByteArray& audioByteArray) {
|
|||
qDebug() << "Buffer is starved and doesn't have enough samples to start. Held back.\n";
|
||||
} else {
|
||||
// We are either already playing back, or we have enough audio to start playing back.
|
||||
if (_ringBuffer.isStarved()) {
|
||||
_ringBuffer.setIsStarved(false);
|
||||
}
|
||||
_ringBuffer.setIsStarved(false);
|
||||
|
||||
// copy the samples we'll resample from the ring buffer - this also
|
||||
// pushes the read pointer of the ring buffer forwards
|
||||
|
|
Loading…
Reference in a new issue