mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-02-06 04:06:36 -05:00
protocol-pulse: implement readiness notification
Write a newline to the fd in the PIPEWIRE_PULSE_NOTIFICATION_FD env variable when set. This is to implement readiness notification as suggested in https://skarnet.org/software/s6/notifywhenup.html Fixes #4347
This commit is contained in:
parent
7af43d87b3
commit
0dfd6d997f
4 changed files with 50 additions and 1 deletions
|
|
@ -5559,6 +5559,8 @@ struct pw_protocol_pulse *pw_protocol_pulse_new(struct pw_context *context,
|
|||
|
||||
cmd_run(impl);
|
||||
|
||||
notify_startup();
|
||||
|
||||
return (struct pw_protocol_pulse *) impl;
|
||||
|
||||
error_free:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue