Logo Search packages:      
Sourcecode: pulseaudio version File versions

context.h File Reference

Detailed Description

Connection contexts for asynchrononous communication with a server. A pa_context object wraps a connection to a PulseAudio server using its native protocol.

Definition in file context.h.

#include <pulse/sample.h>
#include <pulse/def.h>
#include <pulse/mainloop-api.h>
#include <pulse/cdecl.h>
#include <pulse/operation.h>
#include <pulse/proplist.h>
#include <pulse/version.h>

Go to the source code of this file.


typedef typedefPA_C_DECL_BEGIN
struct pa_context 
typedef void(* pa_context_event_cb_t )(pa_context *c, const char *name, pa_proplist *p, void *userdata)
typedef void(* pa_context_notify_cb_t )(pa_context *c, void *userdata)
typedef void(* pa_context_success_cb_t )(pa_context *c, int success, void *userdata)


int pa_context_connect (pa_context *c, const char *server, pa_context_flags_t flags, const pa_spawn_api *api)
void pa_context_disconnect (pa_context *c)
pa_operationpa_context_drain (pa_context *c, pa_context_notify_cb_t cb, void *userdata)
int pa_context_errno (pa_context *c)
pa_operationpa_context_exit_daemon (pa_context *c, pa_context_success_cb_t cb, void *userdata)
uint32_t pa_context_get_index (pa_context *s)
uint32_t pa_context_get_protocol_version (pa_context *c)
const char * pa_context_get_server (pa_context *c)
uint32_t pa_context_get_server_protocol_version (pa_context *c)
pa_context_state_t pa_context_get_state (pa_context *c)
int pa_context_is_local (pa_context *c)
int pa_context_is_pending (pa_context *c)
pa_contextpa_context_new (pa_mainloop_api *mainloop, const char *name)
pa_contextpa_context_new_with_proplist (pa_mainloop_api *mainloop, const char *name, pa_proplist *proplist)
pa_operationpa_context_proplist_remove (pa_context *c, const char *const keys[], pa_context_success_cb_t cb, void *userdata)
pa_operationpa_context_proplist_update (pa_context *c, pa_update_mode_t mode, pa_proplist *p, pa_context_success_cb_t cb, void *userdata)
pa_contextpa_context_ref (pa_context *c)
pa_time_eventpa_context_rttime_new (pa_context *c, pa_usec_t usec, pa_time_event_cb_t cb, void *userdata)
void pa_context_rttime_restart (pa_context *c, pa_time_event *e, pa_usec_t usec)
pa_operationpa_context_set_default_sink (pa_context *c, const char *name, pa_context_success_cb_t cb, void *userdata)
pa_operationpa_context_set_default_source (pa_context *c, const char *name, pa_context_success_cb_t cb, void *userdata)
void pa_context_set_event_callback (pa_context *p, pa_context_event_cb_t cb, void *userdata)
pa_operationpa_context_set_name (pa_context *c, const char *name, pa_context_success_cb_t cb, void *userdata)
void pa_context_set_state_callback (pa_context *c, pa_context_notify_cb_t cb, void *userdata)
void pa_context_unref (pa_context *c)

Generated by  Doxygen 1.6.0   Back to index