mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-03-13 05:33:55 -04:00
Instead of writing packets sequentially and losing sync on any frame gap, compute the write position from the VBAN header's n_frames field. Out-of-order packets land at the correct ringbuffer offset, matching how module-rtp handles this. Only advance the writeindex when a packet extends the frontier so that late arrivals fill gaps without moving the pointer backwards. Fixes: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/5145 |
||
|---|---|---|
| .. | ||
| audio.c | ||
| midi.c | ||
| stream.c | ||
| stream.h | ||
| vban.h | ||