pa_context_connect

Connect the context to the specified server. If server is NULL, * connect to the default server. This routine may but will not always * return synchronously on error. Use pa_context_set_state_callback() to * be notified when the connection is established. If flags doesn't have * PA_CONTEXT_NOAUTOSPAWN set and no specific server is specified or * accessible a new daemon is spawned. If api is non-NULL, the functions * specified in the structure are used when forking a new child * process. Returns negative on certain errors such as invalid state * or parameters.

extern (C)
int
pa_context_connect

Meta