mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-24 08:56:47 -05:00
Only adjust the timeout when the quantum increases so that we end u with exactly the number of samples of the new quantum. Suppose we are handling a quantum of 1024, we wake up with 1024 samples in the device, we now notice a quantum of 8192 and will pull in the 8192 samples, we then have 1024 + 8192 samples in the buffer. Schedule a timeout for 1024 samples so that we end up in the timout with 8192 samples in the device. |
||
|---|---|---|
| .. | ||
| examples | ||
| include | ||
| plugins | ||
| tests | ||
| tools | ||
| meson.build | ||