a2dp-sink: don't force flush

This commit is contained in:
Wim Taymans 2020-10-16 13:25:35 +02:00
parent 3be0e7e1c6
commit e1fc51d965

View file

@ -568,7 +568,7 @@ again:
spa_log_trace(this->log, NAME " %p: written %u frames", this, total_frames); spa_log_trace(this->log, NAME " %p: written %u frames", this, total_frames);
} }
written = flush_buffer(this, true); written = flush_buffer(this, false);
if (written == -EAGAIN) { if (written == -EAGAIN) {
spa_log_trace(this->log, NAME" %p: delay flush", this); spa_log_trace(this->log, NAME" %p: delay flush", this);
if (now_time - this->last_error > SPA_NSEC_PER_SEC / 2) { if (now_time - this->last_error > SPA_NSEC_PER_SEC / 2) {