Logo Search packages:      
Sourcecode: pulseaudio version File versions

uint32_t pa_context_get_server_protocol_version ( pa_context c  ) 

Return the protocol version of the connected server.

Definition at line 1144 of file context.c.

References PA_CONTEXT_IS_GOOD(), PA_ERR_BADSTATE, and PA_INVALID_INDEX.

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

    PA_CHECK_VALIDITY_RETURN_ANY(c, PA_CONTEXT_IS_GOOD(c->state), PA_ERR_BADSTATE, PA_INVALID_INDEX);

    return c->version;
}


Generated by  Doxygen 1.6.0   Back to index