diff --git a/spa/plugins/bluez5/a2dp-sink.c b/spa/plugins/bluez5/a2dp-sink.c index dcf0dcc01..1955daf96 100644 --- a/spa/plugins/bluez5/a2dp-sink.c +++ b/spa/plugins/bluez5/a2dp-sink.c @@ -578,7 +578,7 @@ static void a2dp_on_timeout(struct spa_source *source) if (SPA_LIKELY(this->clock)) { this->clock->nsec = now_time; this->clock->position += duration; - this->clock->position = duration; + this->clock->duration = duration; this->clock->delay = 0; this->clock->rate_diff = 1.0f; this->clock->next_nsec = this->next_time;