Context
Object Hierarchy:
Description:
[ Compact ]
[ CCode ( cname = "pa_context" , cprefix = "pa_context_" , has_type_id = false , ref_function = "pa_context_ref" , unref_function = "pa_context_unref" ) ]
public class Context
Content:
Enums:
Delegates:
- public delegate void CardInfoCb (Context c, CardInfo? i, int eol)
- public delegate void ClientInfoCb (Context c, ClientInfo? i, int eol)
- public delegate void EventCb (Context c, string name, Proplist? proplist)
- public delegate void IndexCb (Context c, uint32 idx)
- public delegate void ModuleInfoCb (Context c, ModuleInfo? i, int eol)
- public delegate void NotifyCb (Context c)
- public delegate void SampleInfoCb (Context c, SampleInfo? i, int eol)
- public delegate void ServerInfoCb (Context c, ServerInfo? i)
- public delegate void SinkInfoCb (Context c, SinkInfo? i, int eol)
- public delegate void SinkInputInfoCb (Context c, SinkInputInfo? i, int eol)
- public delegate void SourceInfoCb (Context c, SourceInfo? i, int eol)
- public delegate void SourceOutputInfoCb (Context c, SourceOutputInfo? i, int eol)
- public delegate void StatInfoCb (Context c, ServerInfo? i)
- public delegate void SubscribeCb (Context c, SubscriptionEventType t, uint32 idx)
- public delegate void SuccessCb (Context c, int success)
Creation methods:
Methods:
- public int connect (string? server = null, Flags flags = 0, SpawnApi? api = null)
- public void disconnect ()
- public Operation? drain (NotifyCb? cb = null)
- public Error errno ()
- public Operation? exit_daemon (SuccessCb? cb = null)
- public Operation? get_card_info_by_index (uint32 idx, CardInfoCb cb)
- public Operation? get_card_info_by_name (string name, CardInfoCb cb)
- public Operation? get_card_info_list (CardInfoCb cb)
- public Operation? get_client_info (uint32 idx, ClientInfoCb cb)
- public Operation? get_client_info_list (ClientInfoCb cb)
- public uint32 get_index ()
- public Operation? get_module_info (uint32 idx, ModuleInfoCb cb)
- public Operation? get_module_info_list (ModuleInfoCb cb)
- public uint32 get_protocol_version ()
- public Operation? get_sample_info_by_index (uint32 idx, SampleInfoCb cb)
- public Operation? get_sample_info_by_name (string name, SampleInfoCb cb)
- public Operation? get_sample_info_list (SampleInfoCb cb)
- public unowned string? get_server ()
- public Operation? get_server_info (ServerInfoCb cb)
- public uint32 get_server_protocol_version ()
- public Operation? get_sink_info_by_index (uint32 idx, SinkInfoCb cb)
- public Operation? get_sink_info_by_name (string name, SinkInfoCb cb)
- public Operation? get_sink_info_list (SinkInfoCb cb)
- public Operation? get_sink_input_info (uint32 idx, SinkInputInfoCb cb)
- public Operation? get_sink_input_info_list (SinkInputInfoCb cb)
- public Operation? get_source_info_by_index (uint32 idx, SourceInfoCb cb)
- public Operation? get_source_info_by_name (string name, SourceInfoCb cb)
- public Operation? get_source_info_list (SourceInfoCb cb)
- public Operation? get_source_output_info (uint32 idx, SourceOutputInfoCb cb)
- public Operation? get_source_output_info_list (SourceOutputInfoCb cb)
- public State get_state ()
- public int is_local ()
- public int is_pending ()
- public Operation? kill_client (uint32 idx, SuccessCb? cb = null)
- public Operation? kill_sink_input (uint32 idx, SuccessCb? cb = null)
- public Operation? kill_source_output (uint32 idx, SuccessCb? cb = null)
- public Operation? load_module (string name, string? argument, IndexCb? cb = null)
- public Operation? move_sink_input_by_index (uint32 idx, uint32 sink_idx, SuccessCb? cb = null)
- public Operation? move_sink_input_by_name (uint32 idx, string sink_name, SuccessCb? cb = null)
- public Operation? move_source_output_by_index (uint32 idx, uint32 source_idx, SuccessCb? cb = null)
- public Operation? move_source_output_by_name (uint32 idx, string source_name, SuccessCb? cb = null)
- public Operation? play_sample (string name, string? device = null, Volume volume = INVALID, SuccessCb? cb = null)
- public Operation? play_sample_with_proplist (string name, string? device = null, Volume volume = INVALID, Proplist? p = null, IndexCb? cb = null)
- public Operation? proplist_remove (string[] keys, SuccessCb? cb = null)
- public Operation? proplist_update (UpdateMode mode, Proplist pl, SuccessCb? cb = null)
- public Operation? remove_sample (string name, SuccessCb? cb = null)
- public Operation? set_card_profile_by_index (uint32 idx, string profile, SuccessCb? cb = null)
- public Operation? set_card_profile_by_name (string name, string profile, SuccessCb? cb = null)
- public Operation? set_default_sink (string name, SuccessCb? cb = null)
- public Operation? set_default_source (string name, SuccessCb? cb = null)
- public void set_event_callback (EventCb? cb = null)
- public Operation? set_name (string name, SuccessCb? cb = null)
- public Operation? set_sink_input_mute (uint32 idx, bool mute, SuccessCb? cb = null)
- public Operation? set_sink_input_volume (uint32 idx, CVolume volume, SuccessCb? cb = null)
- public Operation? set_sink_mute_by_index (uint32 idx, bool mute, SuccessCb? cb = null)
- public Operation? set_sink_mute_by_name (string name, bool mute, SuccessCb? cb = null)
- public Operation? set_sink_port_by_index (uint32 idx, string port, SuccessCb? cb = null)
- public Operation? set_sink_port_by_name (string name, string port, SuccessCb? cb = null)
- public Operation? set_sink_volume_by_index (uint32 idx, CVolume volume, SuccessCb? cb = null)
- public Operation? set_sink_volume_by_name (string name, CVolume volume, SuccessCb? cb = null)
- public Operation? set_source_mute_by_index (uint32 idx, bool mute, SuccessCb? cb = null)
- public Operation? set_source_mute_by_name (string name, bool mute, SuccessCb? cb = null)
- public Operation? set_source_output_mute (uint32 idx, bool mute, SuccessCb? cb = null)
- public Operation? set_source_output_volume (uint32 idx, CVolume volume, SuccessCb? cb = null)
- public Operation? set_source_port_by_index (uint32 idx, string port, SuccessCb? cb = null)
- public Operation? set_source_port_by_name (string name, string port, SuccessCb? cb = null)
- public Operation? set_source_volume_by_index (uint32 idx, CVolume volume, SuccessCb? cb = null)
- public Operation? set_source_volume_by_name (string name, CVolume volume, SuccessCb? cb = null)
- public void set_state_callback (NotifyCb? cb = null)
- public void set_subscribe_callback (SubscribeCb? cb = null)
- public Operation? stat (StatInfoCb cb)
- public Operation? subscribe (SubscriptionMask mask, SuccessCb? cb = null)
- public Operation? suspend_sink_by_index (uint32 idx, bool suspend, SuccessCb? cb = null)
- public Operation? suspend_sink_by_name (string name, bool suspend, SuccessCb? cb = null)
- public Operation? suspend_source_by_index (uint32 idx, bool suspend, SuccessCb? cb = null)
- public Operation? suspend_source_by_name (string name, bool suspend, SuccessCb? cb = null)
- public Operation? unload_module (uint32 idx, SuccessCb? cb = null)