[][src]Module libpulse_sys::context

Connection contexts for asynchronous communication with a server.

A pa_context object wraps a connection to a PulseAudio server using its native protocol.

Re-exports

pub use self::ext_device_manager::*;
pub use self::ext_device_restore::*;
pub use self::ext_stream_restore::*;
pub use self::introspect::*;
pub use self::scache::*;
pub use self::subscribe::*;
pub use self::flags::*;

Modules

ext_device_manager

Routines for controlling module-device-manager.

ext_device_restore

Routines for controlling module-device-restore.

ext_stream_restore

Routines for controlling module-stream-restore.

flags

Some special flags for contexts.

introspect

Routines for daemon introspection.

scache

Sample cache mechanism.

subscribe

Daemon introspection event subscription subsystem.

Structs

pa_context

An opaque connection context to a daemon.

Enums

pa_context_state_t

Constants

PA_CONTEXT_AUTHORIZING
PA_CONTEXT_CONNECTING
PA_CONTEXT_FAILED
PA_CONTEXT_READY
PA_CONTEXT_SETTING_NAME
PA_CONTEXT_TERMINATED
PA_CONTEXT_UNCONNECTED

Functions

pa_context_connect
pa_context_disconnect
pa_context_drain
pa_context_errno
pa_context_exit_daemon
pa_context_get_index
pa_context_get_protocol_version
pa_context_get_server
pa_context_get_server_protocol_version
pa_context_get_state
pa_context_get_tile_size
pa_context_is_good

Checks if the passed state is one of the connected states (returns true if so).

pa_context_is_local
pa_context_is_pending
pa_context_load_cookie_from_file
pa_context_new
pa_context_new_with_proplist
pa_context_proplist_remove
pa_context_proplist_update
pa_context_ref
pa_context_rttime_new
pa_context_rttime_restart
pa_context_set_default_sink
pa_context_set_default_source
pa_context_set_event_callback
pa_context_set_name
pa_context_set_state_callback
pa_context_unref

Type Definitions

pa_context_event_cb_t
pa_context_flags_t
pa_context_notify_cb_t
pa_context_success_cb_t