[PATCH] Add support of callbacks for operation cancelation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux