diff --git a/spa/plugins/bluez5/sco-sink.c b/spa/plugins/bluez5/sco-sink.c index bcb16f338..fde9fcc8a 100644 --- a/spa/plugins/bluez5/sco-sink.c +++ b/spa/plugins/bluez5/sco-sink.c @@ -441,12 +441,6 @@ static void flush_data(struct impl *this) next_timeout = get_next_timeout(this, now_time, processed / port->frame_size); - if (this->transport->codec == HFP_AUDIO_CODEC_MSBC) { - uint64_t min_delay = (this->transport->write_mtu / port->frame_size - * SPA_NSEC_PER_SEC / port->current_format.info.raw.rate); - next_timeout = SPA_MAX(next_timeout, min_delay); - } - if (this->clock) { this->clock->nsec = now_time; this->clock->position = this->total_samples;