Logo Search packages:      
Sourcecode: pulseaudio version File versions  Download package

void pa_operation_cancel ( pa_operation o )

Cancel the operation. Beware! This will not necessarily cancel the execution of the operation on the server side. However it will make sure that the callback associated with this operation will not be called anymore, effectively disabling the operation from the client side's view.

Definition at line 113 of file operation.c.

                                          {
    pa_assert(o);
    pa_assert(PA_REFCNT_VALUE(o) >= 1);

    operation_set_state(o, PA_OPERATION_CANCELED);
}

Generated by  Doxygen 1.6.0   Back to index