Home
last modified time | relevance | path

Searched refs:pa_source (Results 1 – 25 of 60) sorted by relevance

123

/third_party/pulseaudio/src/pulsecore/
Dsource.h56 typedef void(*pa_source_cb_t)(pa_source *s);
58 typedef int (*pa_source_get_mute_cb_t)(pa_source *s, bool *mute);
60 struct pa_source { struct
152 …int (*set_state_in_main_thread)(pa_source *s, pa_source_state_t state, pa_suspend_cause_t suspend_… argument
153 …int (*set_state_in_io_thread)(pa_source *s, pa_source_state_t state, pa_suspend_cause_t suspend_ca… argument
221 int (*set_port)(pa_source *s, pa_device_port *port); /*ditto */ argument
225 pa_idxset* (*get_formats)(pa_source *s); /* ditto */ argument
229 void (*reconfigure)(pa_source *s, pa_sample_spec *spec, bool passthrough); argument
276 PA_DECLARE_PUBLIC_CLASS(pa_source); argument
350 pa_source* pa_source_new(
[all …]
Dsource.c50 PA_DEFINE_PUBLIC_CLASS(pa_source, pa_msgobject);
66 static void pa_source_volume_change_push(pa_source *s);
67 static void pa_source_volume_change_flush(pa_source *s);
148 static void reset_callbacks(pa_source *s) { in reset_callbacks()
165 pa_source* pa_source_new( in pa_source_new()
170 pa_source *s; in pa_source_new()
180 s = pa_msgobject_new(pa_source); in pa_source_new()
361 static int source_set_state(pa_source *s, pa_source_state_t state, pa_suspend_cause_t suspend_cause… in source_set_state()
478 void pa_source_set_get_volume_callback(pa_source *s, pa_source_cb_t cb) { in pa_source_set_get_volume_callback()
484 void pa_source_set_set_volume_callback(pa_source *s, pa_source_cb_t cb) { in pa_source_set_set_volume_callback()
[all …]
Dsource-output.h77 pa_source *source; /* NULL while being moved */
87 pa_source *destination_source; /* only set by filter sources */
171 void (*moving) (pa_source_output *o, pa_source *dest); /* may be NULL */
190 bool (*may_move_to) (pa_source_output *o, pa_source *s); /* may be NULL */
259 pa_source *source;
261 pa_source *destination_source;
296 bool pa_source_output_new_data_set_source(pa_source_output_new_data *data, pa_source *s, bool save,
343 bool pa_source_output_may_move_to(pa_source_output *o, pa_source *dest);
344 int pa_source_output_move_to(pa_source_output *o, pa_source *dest, bool save);
350 int pa_source_output_finish_move(pa_source_output *o, pa_source *dest, bool save);
[all …]
Ddevice-port.c111 pa_source *source; in pa_device_port_set_available()
234 pa_source *source; in pa_device_port_set_latency_offset()
292 pa_source *pa_device_port_get_source(pa_device_port *p) { in pa_device_port_get_source()
293 pa_source *rs = NULL; in pa_device_port_get_source()
294 pa_source *source; in pa_device_port_get_source()
Dtypedefs.h32 typedef struct pa_source pa_source; typedef
Dcore.c408 static int compare_sources(pa_source *a, pa_source *b) { in compare_sources()
454 pa_source *best = NULL; in pa_core_update_default_source()
455 pa_source *source; in pa_core_update_default_source()
457 pa_source *old_default_source; in pa_core_update_default_source()
540 pa_source *so; in pa_core_maybe_vacuum()
608 void pa_core_move_streams_to_newly_available_preferred_source(pa_core *c, pa_source *s) { in pa_core_move_streams_to_newly_available_preferred_source()
Dcore.h185 pa_source *default_source;
287 void pa_core_move_streams_to_newly_available_preferred_source(pa_core *c, pa_source *s);
Dsource-output.c127 bool pa_source_output_new_data_set_source(pa_source_output_new_data *data, pa_source *s, bool save, in pa_source_output_new_data_set_source()
279 pa_source *source; in pa_source_output_new()
1307 static bool find_filter_source_output(pa_source_output *target, pa_source *s) { in find_filter_source_output()
1319 pa_source *source = o->source; in is_filter_source_moving()
1335 bool pa_source_output_may_move_to(pa_source_output *o, pa_source *dest) { in pa_source_output_may_move_to()
1380 pa_source *origin; in pa_source_output_start_move()
1428 static void update_volume_due_to_moving(pa_source_output *o, pa_source *dest) { in update_volume_due_to_moving()
1436 pa_source *root_source; in update_volume_due_to_moving()
1580 int pa_source_output_finish_move(pa_source_output *o, pa_source *dest, bool save) { in pa_source_output_finish_move()
1676 int pa_source_output_move_to(pa_source_output *o, pa_source *dest, bool save) { in pa_source_output_move_to()
[all …]
/third_party/pulseaudio/src/modules/
Dmodule-always-source.c54 static void load_null_source_if_needed(pa_core *c, pa_source *source, struct userdata* u) { in load_null_source_if_needed()
55 pa_source *target; in load_null_source_if_needed()
91 static pa_hook_result_t put_hook_callback(pa_core *c, pa_source *source, void* userdata) { in put_hook_callback()
126 static pa_hook_result_t unlink_hook_callback(pa_core *c, pa_source *source, void* userdata) { in unlink_hook_callback()
Dmodule-rygel-media-server.c180 static void send_signal(struct userdata *u, pa_source *s) { in send_signal()
201 static pa_hook_result_t source_new_or_unlink_cb(pa_core *c, pa_source *s, struct userdata *u) { in source_new_or_unlink_cb()
332 …BusMessage *m, DBusMessageIter *iter, const struct userdata *u, pa_sink *sink, pa_source *source) { in append_variant_urls()
356 …append_variant_mime_type(DBusMessage *m, DBusMessageIter *iter, pa_sink *sink, pa_source *source) { in append_variant_mime_type()
371 …ariant_item_display_name(DBusMessage *m, DBusMessageIter *iter, pa_sink *sink, pa_source *source) { in append_variant_item_display_name()
436 …BusMessage *m, DBusMessageIter *iter, const struct userdata *u, pa_sink *sink, pa_source *source) { in append_property_dict_entry_urls()
448 …rty_dict_entry_mime_type(DBusMessage *m, DBusMessageIter *iter, pa_sink *sink, pa_source *source) { in append_property_dict_entry_mime_type()
460 …_entry_item_display_name(DBusMessage *m, DBusMessageIter *iter, pa_sink *sink, pa_source *source) { in append_property_dict_entry_item_display_name()
559 …perties(DBusMessage *r, DBusMessageIter *sub, const char *path, pa_sink *sink, pa_source *source) { in append_sink_or_source_item_mediaobject2_properties()
569 pa_sink *sink, pa_source *source, in append_sink_or_source_item_properties()
[all …]
Dmodule-remap-source.c60 pa_source *source;
114 static int source_set_state_in_main_thread_cb(pa_source *s, pa_source_state_t state, pa_suspend_cau… in source_set_state_in_main_thread_cb()
129 static void source_update_requested_latency_cb(pa_source *s) { in source_update_requested_latency_cb()
256 static void source_output_moving_cb(pa_source_output *o, pa_source *dest) { in source_output_moving_cb()
296 pa_source *master; in pa__init()
Dmodule-virtual-source.c69 pa_source *source;
190 static int source_set_state_in_main_thread_cb(pa_source *s, pa_source_state_t state, pa_suspend_cau… in source_set_state_in_main_thread_cb()
205 static void source_update_requested_latency_cb(pa_source *s) { in source_update_requested_latency_cb()
222 static void source_set_volume_cb(pa_source *s) { in source_set_volume_cb()
236 static void source_set_mute_cb(pa_source *s) { in source_set_mute_cb()
450 static void source_output_moving_cb(pa_source_output *o, pa_source *dest) { in source_output_moving_cb()
490 pa_source *master=NULL; in pa__init()
Dmodule-intended-roles.c114 pa_source *s; in source_output_new_hook_callback()
207 static pa_hook_result_t source_put_hook_callback(pa_core *c, pa_source *source, struct userdata *u)… in source_put_hook_callback()
308 static pa_hook_result_t source_unlink_hook_callback(pa_core *c, pa_source *source, struct userdata … in source_unlink_hook_callback()
328 pa_source *d; in source_unlink_hook_callback()
Dmodule-device-manager.c372 pa_source *s; in dump_database_helper()
615 pa_source *source; in update_highest_priority_device_indexes()
618 if ((pa_source*) ignore_device == source) in update_highest_priority_device_indexes()
726 pa_source *source; in route_source_output()
778 static pa_hook_result_t route_source_outputs(struct userdata *u, pa_source* ignore_source) { in route_source_outputs()
865 pa_source *source; in subscribe_callback()
1036 pa_source *source; in source_output_new_hook_callback()
1059 static pa_hook_result_t source_put_hook_callback(pa_core *c, PA_GCC_UNUSED pa_source *source, struc… in source_put_hook_callback()
1086 static pa_hook_result_t source_unlink_hook_callback(pa_core *c, pa_source *source, struct userdata … in source_unlink_hook_callback()
1126 pa_source *s; in apply_entry()
[all …]
Dmodule-sine-source.c58 pa_source *source;
106 static int source_set_state_in_io_thread_cb(pa_source *s, pa_source_state_t new_state, pa_suspend_c… in source_set_state_in_io_thread_cb()
118 static void source_update_requested_latency_cb(pa_source *s) { in source_update_requested_latency_cb()
Dmodule-null-source.c65 pa_source *source;
106 static int source_set_state_in_io_thread_cb(pa_source *s, pa_source_state_t new_state, pa_suspend_c… in source_set_state_in_io_thread_cb()
120 static void source_update_requested_latency_cb(pa_source *s) { in source_update_requested_latency_cb()
Dmodule-filter-apply.c63 pa_source *source;
64 pa_source *source_master;
101 static struct filter *filter_new(const char *name, const char *parameters, pa_sink *sink, pa_source in filter_new()
211 pa_source *source = NULL; in get_filter_for_object()
457 pa_source *source; in find_filters_for_module()
510 pa_source *source = NULL; in process()
761 static pa_hook_result_t source_unlink_cb(pa_core *core, pa_source *source, struct userdata *u) { in source_unlink_cb()
Dmodule-switch-on-port-available.c102 pa_source *source; in profile_good_for_input()
196 pa_source *source;
483 pa_source *source; in update_preferred_input_port()
575 static pa_hook_result_t source_port_changed_callback(pa_core *core, pa_source *source, void *userda… in source_port_changed_callback()
Dmodule-suspend-on-idle.c55 pa_source *source;
310 pa_source *source; in device_new_hook_cb()
408 pa_source *s = PA_SOURCE(o); in device_state_changed_hook_cb()
424 pa_source *source; in pa__init()
/third_party/pulseaudio/src/modules/macosx/
Dmodule-coreaudio-device.c118 pa_source *pa_source; member
155 pa_assert_se(pa_asyncmsgq_send(u->async_msgq, PA_MSGOBJECT(u->sources->pa_source), in io_render_proc()
333 if (PA_SOURCE_IS_OPENED(source->pa_source->thread_info.state)) { in source_process_msg()
338 pa_source_post(source->pa_source, &audio_chunk); in source_process_msg()
515 static int ca_source_set_state_in_main_thread(pa_source *s, pa_source_state_t state, pa_suspend_cau… in ca_source_set_state_in_main_thread()
546 pa_source *source; in ca_device_create_source()
641 ca_source->pa_source = source; in ca_device_create_source()
898 pa_source_put(ca_source->pa_source); in pa__init()
932 if (ca_source->pa_source) in pa__done()
933 pa_source_unlink(ca_source->pa_source); in pa__done()
[all …]
/third_party/pulseaudio/src/modules/alsa/
Dalsa-source.h30 pa_source* pa_alsa_source_new(pa_module *m, pa_modargs *ma, const char*driver, pa_card *card, pa_al…
32 void pa_alsa_source_free(pa_source *s);
Dmodule-alsa-source.c127 pa_source *source; in pa__get_n_used()
136 pa_source *source; in pa__done()
Dalsa-source.c94 pa_source *source;
1244 static int source_set_state_in_main_thread_cb(pa_source *s, pa_source_state_t new_state, pa_suspend… in source_set_state_in_main_thread_cb()
1273 static int source_set_state_in_io_thread_cb(pa_source *s, pa_source_state_t new_state, pa_suspend_c… in source_set_state_in_io_thread_cb()
1376 static void source_get_volume_cb(pa_source *s) { in source_get_volume_cb()
1404 static void source_set_volume_cb(pa_source *s) { in source_set_volume_cb()
1469 static void source_write_volume_cb(pa_source *s) { in source_write_volume_cb()
1509 static int source_get_mute_cb(pa_source *s, bool *mute) { in source_get_mute_cb()
1522 static void source_set_mute_cb(pa_source *s) { in source_set_mute_cb()
1581 static int source_set_port_ucm_cb(pa_source *s, pa_device_port *p) { in source_set_port_ucm_cb()
1601 static int source_set_port_cb(pa_source *s, pa_device_port *p) { in source_set_port_cb()
[all …]
/third_party/pulseaudio/src/modules/dbus/
Diface-device.h43 pa_dbusiface_device *pa_dbusiface_device_new_source(pa_dbusiface_core *core, pa_source *source);
49 pa_source *pa_dbusiface_device_get_source(pa_dbusiface_device *d);
Diface-core.h38 const char *pa_dbusiface_core_get_source_path(pa_dbusiface_core *c, const pa_source *source);
48 pa_source *pa_dbusiface_core_get_source(pa_dbusiface_core *c, const char *object_path);

123