pipewire/spa/plugins
Martin Geier b5e9e59cdb alsa-pcm: enable interrupts after alsa recovery
Interrupts are disabled in alsa_irq_wakeup_event -> playback_ready method
to not produce another wakeups when waiting for a new data. Interrupts are
enabled again when a new data arrives in a method spa_alsa_write.
In rare cases, when there is multiple streams providing data and one of
them is disconnected, a new data fails to be delivered and the spa_alsa_write
is not called. Not providing data produces underrun and alsa-pcm invokes
recovery process. Recovery process starts a new playback, but without interrupts
enabled is graph not triggered and new data are not delivered (to enable
interrupts). Recovery process keeps running in loop.
Now the interrupts are enabled again after the recovery and the starvation
should not occur.

Signed-off-by: Martin Geier <martin.geier@streamunlimited.com>
2025-06-13 11:14:22 +02:00
..
aec spa: aec: Add support for webrtc-audio-processing-2 2025-01-09 12:06:58 +00:00
alsa alsa-pcm: enable interrupts after alsa recovery 2025-06-13 11:14:22 +02:00
audioconvert adapter: use the right default when filtering default 2025-06-03 10:54:07 +02:00
audiomixer spa: use static inline for interfaces instead of macro 2024-11-26 11:35:49 +01:00
audiotestsrc spa: audiotestsrc: Validate loop and system before using them 2024-10-23 08:25:30 -04:00
avb json: add helper function to parse channel positions 2024-09-18 09:54:34 +02:00
bluez5 Use "8 bit raw midi" for control ports again 2025-05-23 17:00:05 +02:00
control alsa: remove UMP flag from control format 2025-05-23 17:00:16 +02:00
ffmpeg spa: use log topics everywhere 2024-03-11 18:45:21 +02:00
filter-graph filter-graph: lv2 features need a NULL terminator 2025-05-21 15:37:02 +02:00
jack spa: use log topics everywhere 2024-03-11 18:45:21 +02:00
libcamera libcemara: take care of index offset when enumerating controls 2025-05-20 10:53:55 +02:00
support loop: don't call the hooks around blocking wait 2025-06-10 12:18:28 +02:00
test spa: use log topics everywhere 2024-03-11 18:45:21 +02:00
v4l2 v4l2: Re-enable first buffer skip for jpeg types 2025-05-17 15:08:45 +02:00
videoconvert adapter: use the right default when filtering default 2025-06-03 10:54:07 +02:00
videotestsrc Port videotestsrc to LoopUtils 2024-07-01 15:28:14 +00:00
volume spa: fix volume plugin compilation 2024-06-18 15:44:26 +02:00
vulkan spa: vulkan: simplify memcpy() call 2024-12-14 23:28:43 +01:00
meson.build filter-chain: move the filter-graph to plugins 2024-11-13 11:12:06 +01:00