Home
last modified time | relevance | path

Searched refs:pa_context (Results 1 – 25 of 44) sorted by relevance

12

/third_party/pulseaudio/src/pulse/
Dcontext.h154 typedef struct pa_context pa_context; typedef
157 typedef void (*pa_context_notify_cb_t)(pa_context *c, void *userdata);
160 typedef void (*pa_context_success_cb_t) (pa_context *c, int success, void *userdata);
167 typedef void (*pa_context_event_cb_t)(pa_context *c, const char *name, pa_proplist *p, void *userda…
172 pa_context *pa_context_new(pa_mainloop_api *mainloop, const char *name);
177 pa_context *pa_context_new_with_proplist(pa_mainloop_api *mainloop, const char *name, const pa_prop…
180 void pa_context_unref(pa_context *c);
183 pa_context* pa_context_ref(pa_context *c);
186 void pa_context_set_state_callback(pa_context *c, pa_context_notify_cb_t cb, void *userdata);
190 void pa_context_set_event_callback(pa_context *p, pa_context_event_cb_t cb, void *userdata);
[all …]
Dintrospect.h295 typedef void (*pa_sink_info_cb_t)(pa_context *c, const pa_sink_info *i, int eol, void *userdata);
298 pa_operation* pa_context_get_sink_info_by_name(pa_context *c, const char *name, pa_sink_info_cb_t c…
301 pa_operation* pa_context_get_sink_info_by_index(pa_context *c, uint32_t idx, pa_sink_info_cb_t cb, …
304 pa_operation* pa_context_get_sink_info_list(pa_context *c, pa_sink_info_cb_t cb, void *userdata);
307 pa_operation* pa_context_set_sink_volume_by_index(pa_context *c, uint32_t idx, const pa_cvolume *vo…
310 pa_operation* pa_context_set_sink_volume_by_name(pa_context *c, const char *name, const pa_cvolume …
313 pa_operation* pa_context_set_sink_mute_by_index(pa_context *c, uint32_t idx, int mute, pa_context_s…
316 pa_operation* pa_context_set_sink_mute_by_name(pa_context *c, const char *name, int mute, pa_contex…
319 pa_operation* pa_context_suspend_sink_by_name(pa_context *c, const char *sink_name, int suspend, pa…
322 pa_operation* pa_context_suspend_sink_by_index(pa_context *c, uint32_t idx, int suspend, pa_contex…
[all …]
Dext-device-manager.h56 pa_context *c,
62 pa_context *c,
68 pa_context *c,
75 pa_context *c,
81 pa_context *c,
89 pa_context *c,
96 pa_context *c,
103 pa_context *c,
111 pa_context *c,
118 pa_context *c,
[all …]
Dext-stream-restore.h48 pa_context *c,
54 pa_context *c,
60 pa_context *c,
67 pa_context *c,
73 pa_context *c,
83 pa_context *c,
90 pa_context *c,
97 pa_context *c,
103 pa_context *c,
Dext-device-restore.h46 pa_context *c,
52 pa_context *c,
58 pa_context *c,
65 pa_context *c,
73 pa_context *c,
79 pa_context *c,
86 pa_context *c,
92 pa_context *c,
100 pa_context *c,
Dcontext.c98 static void context_free(pa_context *c);
104 pa_context *pa_context_new(pa_mainloop_api *mainloop, const char *name) { in pa_context_new()
108 static void reset_callbacks(pa_context *c) { in reset_callbacks()
130 pa_context *pa_context_new_with_proplist(pa_mainloop_api *mainloop, const char *name, const pa_prop… in pa_context_new_with_proplist()
131 pa_context *c; in pa_context_new_with_proplist()
142 c = pa_xnew0(pa_context, 1); in pa_context_new_with_proplist()
214 static void context_unlink(pa_context *c) { in context_unlink()
254 static void context_free(pa_context *c) { in context_free()
294 pa_context* pa_context_ref(pa_context *c) { in pa_context_ref()
302 void pa_context_unref(pa_context *c) { in pa_context_unref()
[all …]
Dinternal.h68 struct pa_context { struct
156 pa_context *context; argument
253 pa_context *context;
278 pa_operation *pa_operation_new(pa_context *c, pa_stream *s, pa_operation_cb_t callback, void *userd…
286 void pa_context_fail(pa_context *c, int error);
287 int pa_context_set_error(const pa_context *c, int error);
288 void pa_context_set_state(pa_context *c, pa_context_state_t st);
289 int pa_context_handle_error(pa_context *c, uint32_t command, pa_tagstruct *t, bool fail);
290 pa_operation* pa_context_send_simple_command(pa_context *c, uint32_t command, void (*internal_callb…
294 pa_tagstruct *pa_tagstruct_command(pa_context *c, uint32_t command, uint32_t *tag);
[all …]
Dscache.h85 typedef void (*pa_context_play_sample_cb_t)(pa_context *c, uint32_t idx, void *userdata);
97 pa_operation* pa_context_remove_sample(pa_context *c, const char *name, pa_context_success_cb_t cb,…
103 pa_context *c /**< Context */,
115 pa_context *c /**< Context */,
Dintrospect.c77 pa_operation* pa_context_stat(pa_context *c, pa_stat_info_cb_t cb, void *userdata) { in pa_context_stat()
130 pa_operation* pa_context_get_server_info(pa_context *c, pa_server_info_cb_t cb, void *userdata) { in pa_context_get_server_info()
313 pa_operation* pa_context_get_sink_info_list(pa_context *c, pa_sink_info_cb_t cb, void *userdata) { in pa_context_get_sink_info_list()
317 pa_operation* pa_context_get_sink_info_by_index(pa_context *c, uint32_t idx, pa_sink_info_cb_t cb, … in pa_context_get_sink_info_by_index()
340 pa_operation* pa_context_get_sink_info_by_name(pa_context *c, const char *name, pa_sink_info_cb_t c… in pa_context_get_sink_info_by_name()
364 pa_operation* pa_context_set_sink_port_by_index(pa_context *c, uint32_t idx, const char*port, pa_co… in pa_context_set_sink_port_by_index()
389 pa_operation* pa_context_set_sink_port_by_name(pa_context *c, const char *name, const char*port, pa… in pa_context_set_sink_port_by_name()
592 pa_operation* pa_context_get_source_info_list(pa_context *c, pa_source_info_cb_t cb, void *userdata… in pa_context_get_source_info_list()
596 pa_operation* pa_context_get_source_info_by_index(pa_context *c, uint32_t idx, pa_source_info_cb_t … in pa_context_get_source_info_by_index()
619 pa_operation* pa_context_get_source_info_by_name(pa_context *c, const char *name, pa_source_info_cb… in pa_context_get_source_info_by_name()
[all …]
Dsubscribe.h73 typedef void (*pa_context_subscribe_cb_t)(pa_context *c, pa_subscription_event_type_t t, uint32_t i…
76 pa_operation* pa_context_subscribe(pa_context *c, pa_subscription_mask_t m, pa_context_success_cb_t…
79 void pa_context_set_subscribe_callback(pa_context *c, pa_context_subscribe_cb_t cb, void *userdata);
Dext-device-manager.c80 pa_context *c, in pa_ext_device_manager_test()
180 pa_context *c, in pa_ext_device_manager_read()
208 pa_context *c, in pa_ext_device_manager_set_device_description()
245 pa_context *c, in pa_ext_device_manager_delete()
296 pa_context *c, in pa_ext_device_manager_enable_role_device_priority_routing()
327 pa_context *c, in pa_ext_device_manager_reorder_devices_for_role()
369 pa_context *c, in pa_ext_device_manager_subscribe()
399 pa_context *c, in pa_ext_device_manager_set_subscribe_cb()
413 void pa_ext_device_manager_command(pa_context *c, uint32_t tag, pa_tagstruct *t) { in pa_ext_device_manager_command()
Dext-stream-restore.c76 pa_context *c, in pa_ext_stream_restore_test()
157 pa_context *c, in pa_ext_stream_restore_read()
185 pa_context *c, in pa_ext_stream_restore_write()
248 pa_context *c, in pa_ext_stream_restore_delete()
296 pa_context *c, in pa_ext_stream_restore_subscribe()
326 pa_context *c, in pa_ext_stream_restore_set_subscribe_cb()
340 void pa_ext_stream_restore_command(pa_context *c, uint32_t tag, pa_tagstruct *t) { in pa_ext_stream_restore_command()
Dext-device-restore.c81 pa_context *c, in pa_ext_device_restore_test()
109 pa_context *c, in pa_ext_device_restore_subscribe()
139 pa_context *c, in pa_ext_device_restore_set_subscribe_cb()
234 pa_context *c, in pa_ext_device_restore_read_formats_all()
262 pa_context *c, in pa_ext_device_restore_read_formats()
295 pa_context *c, in pa_ext_device_restore_save_formats()
338 void pa_ext_device_restore_command(pa_context *c, uint32_t tag, pa_tagstruct *t) { in pa_ext_device_restore_command()
Dsubscribe.c33 pa_context *c = userdata; in pa_command_subscribe_event()
59 pa_operation* pa_context_subscribe(pa_context *c, pa_subscription_mask_t m, pa_context_success_cb_t… in pa_context_subscribe()
79 void pa_context_set_subscribe_callback(pa_context *c, pa_context_subscribe_cb_t cb, void *userdata)… in pa_context_set_subscribe_callback()
Dstream.h312 pa_context *c /**< The context to create this stream in */,
321 pa_context *c /**< The context to create this stream in */,
332 pa_context *c /**< The context to create this stream in */,
348 pa_context* pa_stream_get_context(const pa_stream *p);
Dscache.c168 pa_operation *pa_context_play_sample(pa_context *c, const char *name, const char *dev, pa_volume_t … in pa_context_play_sample()
208 pa_operation *pa_context_play_sample_with_proplist(pa_context *c, const char *name, const char *dev… in pa_context_play_sample_with_proplist()
251 pa_operation* pa_context_remove_sample(pa_context *c, const char *name, pa_context_success_cb_t cb,… in pa_context_remove_sample()
/third_party/ffmpeg/libavdevice/
Dpulse_audio_common.c60 static void pa_state_cb(pa_context *c, void *userdata) in pa_state_cb()
77 void ff_pulse_audio_disconnect_context(pa_mainloop **pa_ml, pa_context **pa_ctx) in ff_pulse_audio_disconnect_context()
93 int ff_pulse_audio_connect_context(pa_mainloop **pa_ml, pa_context **pa_ctx, in ff_pulse_audio_connect_context()
172 static void pulse_audio_source_device_cb(pa_context *c, const pa_source_info *dev, in pulse_audio_source_device_cb()
179 static void pulse_audio_sink_device_cb(pa_context *c, const pa_sink_info *dev, in pulse_audio_sink_device_cb()
186 static void pulse_server_info_cb(pa_context *c, const pa_server_info *i, void *userdata) in pulse_server_info_cb()
201 pa_context *pa_ctx = NULL; in ff_pulse_audio_get_devices()
Dpulse_audio_common.h35 int ff_pulse_audio_connect_context(pa_mainloop **pa_ml, pa_context **pa_ctx,
38 void ff_pulse_audio_disconnect_context(pa_mainloop **pa_ml, pa_context **pa_ctx);
Dpulse_audio_enc.c46 pa_context *ctx;
54 static void pulse_audio_sink_device_cb(pa_context *ctx, const pa_sink_info *dev, in pulse_audio_sink_device_cb()
89 static void pulse_audio_sink_input_cb(pa_context *ctx, const pa_sink_input_info *i, in pulse_audio_sink_input_cb()
123 pa_context *ctx = NULL; in pulse_update_sink_input_info()
150 static void pulse_event(pa_context *ctx, pa_subscription_event_type_t t, in pulse_event()
220 static void pulse_context_state(pa_context *ctx, void *userdata) in pulse_context_state()
293 static void pulse_context_result(pa_context *ctx, int success, void *userdata) in pulse_context_result()
/third_party/pulseaudio/src/tests/
Dgtk-test.c30 pa_context *ctxt;
33 static void context_state_callback(pa_context *c, void *userdata);
47 static void context_state_callback(pa_context *c, void *userdata) { in context_state_callback()
Dpassthrough-test.c47 static pa_context *context = NULL;
55 static void context_state_callback(pa_context *c, void *userdata) { in context_state_callback()
86 static void module_index_cb(pa_context *c, uint32_t idx, void *userdata) { in module_index_cb()
94 static void success_cb(pa_context *c, int success, void *userdata) { in success_cb()
269 static void sink_info_cb(pa_context *c, const pa_sink_info *i, int eol, void *userdata) { in sink_info_cb()
Dconnect-stress.c53 static pa_context *context = NULL;
64 static void context_state_callback(pa_context *c, void *userdata);
152 static void context_state_callback(pa_context *c, void *userdata) { in context_state_callback()
/third_party/pulseaudio/src/utils/
Dpasuspender.c46 static pa_context *context = NULL;
60 static void context_drain_complete(pa_context *c, void *userdata) { in context_drain_complete()
105 static void resume_complete(pa_context *c, int success, void *userdata) { in resume_complete()
139 static void suspend_complete(pa_context *c, int success, void *userdata) { in suspend_complete()
156 static void context_state_callback(pa_context *c, void *userdata) { in context_state_callback()
Dpactl.c48 static pa_context *context = NULL;
160 static void context_drain_complete(pa_context *c, void *userdata) { in context_drain_complete()
180 static void stat_callback(pa_context *c, const pa_stat_info *i, void *userdata) { in stat_callback()
217 static void get_default_sink(pa_context *c, const pa_server_info *i, void *userdata) { in get_default_sink()
229 static void get_default_source(pa_context *c, const pa_server_info *i, void *userdata) { in get_default_source()
241 static void get_server_info_callback(pa_context *c, const pa_server_info *i, void *useerdata) { in get_server_info_callback()
544 static void get_sink_info_callback(pa_context *c, const pa_sink_info *i, int is_last, void *userdat… in get_sink_info_callback()
730 static void get_source_info_callback(pa_context *c, const pa_source_info *i, int is_last, void *use… in get_source_info_callback()
914 static void get_module_info_callback(pa_context *c, const pa_module_info *i, int is_last, void *use… in get_module_info_callback()
992 static void get_client_info_callback(pa_context *c, const pa_client_info *i, int is_last, void *use… in get_client_info_callback()
[all …]
/third_party/gstreamer/gstplugins_good/ext/pulse/
Dpulsedeviceprovider.c177 context_state_cb (pa_context * c, void *userdata) in context_state_cb()
239 get_source_info_cb (pa_context * context, in get_source_info_cb()
257 get_server_info_cb (pa_context * context, const pa_server_info * info, in get_server_info_cb()
313 get_sink_info_cb (pa_context * context, in get_sink_info_cb()
331 context_subscribe_cb (pa_context * context, pa_subscription_event_type_t type, in context_subscribe_cb()
387 get_source_info_list_cb (pa_context * context, const pa_source_info * info, in get_source_info_list_cb()
401 get_sink_info_list_cb (pa_context * context, const pa_sink_info * info, in get_sink_info_list_cb()
419 pa_context *c = NULL; in gst_pulse_device_provider_probe()

12