bubbleguuum
f1f4d0d229
Fix opening pipewire device blocking indefinitely if no device
...
If wireplumber is not running or if there is no audio device,
PIPEWIRE_OpenDevice could remain stuck indefinityely on PIPEWIRE_pw_thread_loop_wait
because priv->stream_init_status is never equal to PW_READY_FLAG_ALL_PREOPEN_BITS.
Use PIPEWIRE_pw_thread_loop_timed_wait instead with a 2 seconds timeout and bail
out with an error on timeout.
A 2 seconds timeout seems plenty enough: in my observations, when there is an audio device,
the wait for the device to be ready is just a few milliseconds.
2026-06-25 09:41:15 -04:00
..
2026-05-11 06:43:08 -07:00
2026-06-25 09:41:15 -04:00
2026-06-05 09:14:07 -07:00
2026-06-21 20:30:50 -07:00
2026-05-13 23:37:46 -07:00
2026-05-15 08:48:24 -07:00
2026-06-21 11:51:15 -07:00
2026-06-23 07:10:25 -07:00
2026-06-21 11:51:15 -07:00
2026-06-23 08:59:16 -07:00
2026-06-03 20:38:04 -07:00
2026-06-17 06:52:42 -07:00
2026-06-19 13:42:10 -04:00
2026-06-19 20:05:28 -05:00
2026-05-13 18:00:02 +03:00
2026-01-01 09:40:08 -08:00
2026-02-20 10:27:44 -05:00
2026-06-19 14:14:13 -04:00
2026-06-10 13:07:47 -07:00
2026-06-23 14:28:17 -04:00
2026-01-23 16:02:16 -08:00
2026-03-30 16:22:53 -04:00
2026-06-23 08:57:49 -07:00
2026-06-02 16:51:58 -07:00
2026-06-08 11:58:47 -04:00
2026-01-01 09:40:08 -08:00
2026-06-24 12:45:36 -07:00
2026-05-13 11:28:54 -07:00
2026-05-15 08:48:24 -07:00
2026-06-21 10:44:37 -05:00
2026-05-16 07:49:55 -07:00
2026-06-24 12:45:36 -07:00
2026-01-01 09:40:08 -08:00
2026-02-24 09:48:57 -08:00
2026-04-27 09:33:46 -04:00
2026-04-25 15:17:32 -04:00
2026-01-23 11:23:27 -08:00
2026-01-01 09:40:08 -08:00
2026-01-01 09:40:08 -08:00
2026-01-01 09:40:08 -08:00
2026-01-01 09:40:08 -08:00
2026-05-27 15:41:51 -04:00
2026-04-10 14:11:38 -07:00
2026-04-10 14:11:38 -07:00
2026-01-01 09:40:08 -08:00
2026-06-02 16:51:58 -07:00
2026-04-10 14:11:38 -07:00
2026-01-01 09:40:08 -08:00
2026-06-21 11:51:15 -07:00
2026-04-06 19:43:45 -04:00
2026-05-26 20:27:22 -04:00
2026-06-21 11:51:15 -07:00