4 ms·
Because sometimes latency matters: - You want a "ding" sound within Xms of the time a user performs some action. - You want a volume change to happen within Y
by aidenn0 6y ago
Because sometimes latency matters:
- You want a "ding" sound within Xms of the time a user performs some action.
- You want a volume change to happen within Yms of the user pressing the volume up/down keys
Without buffer rewinding, your buffer size when playing music cannot be longer than the smallest of such requirements.
With buffer rewinding, your buffer size can be very long when playing media, and if a latency-sensitive event happens, you throw away the buffer. This reduces wakeups and increases the batch size for mixing, which is good for battery life.
The PipeWire people seem fairly smart, so they are probably aware of this, but I'd like to see power numbers on say a big-little ARM system of PW compared to PA.