mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
pulse-server: ignore adjust-latency for capture
Don't update the fragsize, it breaks #2418 again.
This commit is contained in:
parent
95cfb531a0
commit
bd584ca8c0
1 changed files with 0 additions and 3 deletions
|
|
@ -688,9 +688,6 @@ static uint64_t fix_record_buffer_attr(struct stream *s, struct buffer_attr *att
|
|||
/* pulseaudio configures half the fragsize as latency in the source. */
|
||||
latency = attr->fragsize / 2;
|
||||
|
||||
if (s->adjust_latency)
|
||||
attr->fragsize = SPA_ROUND_UP(latency, frame_size);
|
||||
|
||||
lat->num = latency / frame_size;
|
||||
lat->denom = rate;
|
||||
clamp_latency(s, lat);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue