Logo Search packages:      
Sourcecode: pulseaudio version File versions

void pa_context_disconnect ( pa_context c  ) 

Terminate the context connection immediately

Definition at line 898 of file context.c.

References PA_CONTEXT_IS_GOOD(), and PA_CONTEXT_TERMINATED.

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

    if (pa_detect_fork())
        return;

    if (PA_CONTEXT_IS_GOOD(c->state))
        pa_context_set_state(c, PA_CONTEXT_TERMINATED);
}


Generated by  Doxygen 1.6.0   Back to index