mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-04 13:29:59 -05:00
pulse: Add pa_operation_set_state_callback() API
[The original commit message didn't have any explanation why this change is made, so I'll add that information here myself. --Tanu Kaskinen] This change is from the developers of a Haskell binding[1]. According to them, this change isn't strictly necessary, but their code gets significantly cleaner if they can register an operation callback that is called when the operation is cancelled due to the context getting disconnected. [1] https://github.com/favonia/pulse
This commit is contained in:
parent
b1e47df72c
commit
a255c29344
4 changed files with 30 additions and 0 deletions
|
|
@ -220,6 +220,7 @@ pa_msleep;
|
|||
pa_operation_cancel;
|
||||
pa_operation_get_state;
|
||||
pa_operation_ref;
|
||||
pa_operation_set_state_callback;
|
||||
pa_operation_unref;
|
||||
pa_parse_sample_format;
|
||||
pa_path_get_filename;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue