alsa-plugin: no wakeup on period event
- PipeWire version (
pipewire --version
): 0.3.85 - Distribution and distribution version (
PRETTY_NAME
from/etc/os-release
): Arch Linux - Desktop Environment: KDE
- Kernel version (
uname -r
): 6.6.2-arch1-1
Description of Problem:
Enabling period event wakeup via snd_pcm_sw_params_set_period_event
does not seem to work. The attached example app enables period events and sets the avail_min value to two times the period size. I would expect a wakeup on every period event, not just when at least avail_min frames can be written (which does work).
Note: I'm just reporting this in case you care about this. Personally I do not mind if you don't - it has become clear to me that the alsa poll interface is so badly under specified that an application that wants to be robust and portable cannot reasonably rely on it anyway, so there may be little point in spending time on this.
Example app: AlsaPeriodWakeup.zip