mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04:00
a2dp-sink: fix timing
This commit is contained in:
parent
53ee5ce72a
commit
a91d129698
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue