[pulseaudio-discuss] [PATCH] Add support of callbacks for operation cancelation

Tanu Kaskinen tanuk at iki.fi
Thu Jan 3 06:04:41 PST 2013


On Sat, 2012-05-19 at 20:03 -0400, Favonia wrote:
> - Add new API `pa_operation_set_cancel_callback`
>   for users to set cancelation callbacks.
> ---
>  src/pulse/context.c   |    9 +++++++--
>  src/pulse/internal.h  |    3 +++
>  src/pulse/operation.c |   25 ++++++++++++++++++++++++-
>  src/pulse/operation.h |    7 +++++++
>  4 files changed, 41 insertions(+), 3 deletions(-)

Sorry for not replying earlier. Is this something that you are still
interested in?

I think this would be pretty harmless addition to the API, so I'm not
opposed (comments from others would be very welcome too). What would you
think about changing the semantics from reporting just canceling to
reporting any operation state changes, though? So the added function
would be pa_operation_set_state_callback().

-- 
Tanu



More information about the pulseaudio-discuss mailing list