mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
a2dp-sink: don't overwrite duration in clock
We should not modify the duration field in the clock, it is set by the host and contains the desired quantum. See #297
This commit is contained in:
parent
aea9d4fdfe
commit
8b168935ee
1 changed files with 0 additions and 1 deletions
|
|
@ -687,7 +687,6 @@ again:
|
|||
if (this->clock) {
|
||||
this->clock->nsec = now_time;
|
||||
this->clock->position = this->sample_count;
|
||||
this->clock->duration = this->write_samples;
|
||||
this->clock->delay = queued;
|
||||
this->clock->rate_diff = 1.0f;
|
||||
this->clock->next_nsec = SPA_TIMESPEC_TO_NSEC(&ts.it_value);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue