pipewire/src/modules/module-vban
thewrz 8ceb671cc8 module-vban: derive write position from frame counter
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
2026-02-27 22:48:12 -08:00
..
audio.c module-vban: derive write position from frame counter 2026-02-27 22:48:12 -08:00
midi.c control: improve UMP to Midi conversiom 2025-08-19 18:33:59 +02:00
stream.c module-vban: derive write position from frame counter 2026-02-27 22:48:12 -08:00
stream.h modules-vban: add vban sender and receiver 2023-07-25 18:36:48 +02:00
vban.h pipewire: module-vban: fix vban serial header 2024-12-14 23:09:45 +01:00