/third_party/pulseaudio/src/pulsecore/ |
D | device-port.h | 38 struct pa_device_port { struct 58 void (*impl_free)(pa_device_port *port); argument 63 PA_DECLARE_PUBLIC_CLASS(pa_device_port); 66 #define PA_DEVICE_PORT_DATA(d) ((void*) ((uint8_t*) d + PA_ALIGN(sizeof(pa_device_port)))) 86 pa_device_port *pa_device_port_new(pa_core *c, pa_device_port_new_data *data, size_t extra); 89 void pa_device_port_set_available(pa_device_port *p, pa_available_t available); 91 void pa_device_port_set_latency_offset(pa_device_port *p, int64_t offset); 92 void pa_device_port_set_preferred_profile(pa_device_port *p, const char *new_pp); 94 pa_device_port *pa_device_port_find_best(pa_hashmap *ports); 96 pa_sink *pa_device_port_get_sink(pa_device_port *p); [all …]
|
D | device-port.c | 26 PA_DEFINE_PUBLIC_CLASS(pa_device_port, pa_object); 84 void pa_device_port_set_preferred_profile(pa_device_port *p, const char *new_pp) { in pa_device_port_set_preferred_profile() 93 void pa_device_port_set_available(pa_device_port *p, pa_available_t status) { in pa_device_port_set_available() 156 pa_device_port *p = PA_DEVICE_PORT(o); in device_port_free() 177 pa_device_port *pa_device_port_new(pa_core *c, pa_device_port_new_data *data, size_t extra) { in pa_device_port_new() 178 pa_device_port *p; in pa_device_port_new() 185 …p = PA_DEVICE_PORT(pa_object_new_internal(PA_ALIGN(sizeof(pa_device_port)) + extra, pa_device_port… in pa_device_port_new() 208 void pa_device_port_set_latency_offset(pa_device_port *p, int64_t offset) { in pa_device_port_set_latency_offset() 252 pa_device_port *pa_device_port_find_best(pa_hashmap *ports) in pa_device_port_find_best() 255 pa_device_port *p, *best = NULL; in pa_device_port_find_best() [all …]
|
D | card.h | 82 pa_device_port *preferred_input_port; 83 pa_device_port *preferred_output_port; 105 pa_device_port *preferred_input_port; 106 pa_device_port *preferred_output_port; 126 …ew_data_set_preferred_port(pa_card_new_data *data, pa_direction_t direction, pa_device_port *port); 143 void pa_card_set_preferred_port(pa_card *c, pa_direction_t direction, pa_device_port *port);
|
D | typedefs.h | 28 typedef struct pa_device_port pa_device_port; typedef
|
D | card.c | 113 …w_data_set_preferred_port(pa_card_new_data *data, pa_direction_t direction, pa_device_port *port) { in pa_card_new_data_set_preferred_port() 142 pa_device_port *port; in pa_card_new() 353 void pa_card_set_preferred_port(pa_card *c, pa_direction_t direction, pa_device_port *port) { in pa_card_set_preferred_port() 354 pa_device_port *old_port; in pa_card_set_preferred_port()
|
D | source.h | 119 pa_device_port *active_port; 220 int (*set_port)(pa_source *s, pa_device_port *port); /*ditto */
|
D | sink.h | 118 pa_device_port *active_port; 256 int (*set_port)(pa_sink *s, pa_device_port *port); /* may be NULL */
|
D | cli-text.c | 106 pa_device_port *p; in append_port_list()
|
D | source.c | 232 pa_device_port *p = pa_device_port_find_best(data->ports); in pa_source_new() 2678 pa_device_port *port; in pa_source_set_port()
|
D | protocol-native.c | 3200 pa_device_port *p; in sink_fill_tagstruct() 3275 pa_device_port *p; in source_fill_tagstruct() 3325 pa_device_port *port; in card_fill_tagstruct() 4835 pa_device_port *port = NULL; in command_set_port_latency_offset()
|
D | sink.c | 245 pa_device_port *p = pa_device_port_find_best(data->ports); in pa_sink_new() 3412 pa_device_port *port; in pa_sink_set_port()
|
/third_party/pulseaudio/src/modules/ |
D | module-switch-on-port-available.c | 65 static bool profile_good_for_output(pa_card_profile *profile, pa_device_port *port) { in profile_good_for_output() 97 static bool profile_good_for_input(pa_card_profile *profile, pa_device_port *port) { in profile_good_for_input() 129 static int try_to_switch_profile(pa_device_port *port) { in try_to_switch_profile() 183 pa_device_port *port; 199 static struct port_pointers find_port_pointers(pa_device_port *port) { in find_port_pointers() 231 static void switch_to_port(pa_device_port *port, struct port_pointers pp) { in switch_to_port() 253 static void switch_from_port(pa_device_port *port, struct port_pointers pp) { in switch_from_port() 254 pa_device_port *p, *best_port = NULL; in switch_from_port() 288 static pa_hook_result_t port_available_hook_callback(pa_core *c, pa_device_port *port, void* userda… in port_available_hook_callback() 400 pa_device_port *port; in handle_all_unavailable() [all …]
|
D | module-card-restore.c | 121 static struct port_info *port_info_new(pa_device_port *port) { in port_info_new() 150 pa_device_port *port; in entry_from_card() 414 static void update_profile_for_port(struct entry *entry, pa_card *card, pa_device_port *p) { in update_profile_for_port() 485 static pa_hook_result_t port_offset_change_callback(pa_core *c, pa_device_port *port, struct userda… in port_offset_change_callback() 519 pa_device_port *p; in card_new_hook_callback()
|
/third_party/pulseaudio/src/modules/alsa/ |
D | module-alsa-card.c | 311 static pa_available_t calc_port_state(pa_device_port *p, struct userdata *u) { in calc_port_state() 315 pa_device_port *port; in calc_port_state() 359 pa_device_port *port; 471 pa_device_port *port; in report_jack_state() 515 static pa_device_port* find_port_with_eld_device(struct userdata *u, int device) { in find_port_with_eld_device() 517 pa_device_port *p; in find_port_with_eld_device() 542 pa_device_port *p; in hdmi_eld_changed() 575 pa_device_port *port; in init_eld_ctls() 681 pa_device_port *p; in prune_singleton_availability_groups() 981 pa_device_port *port; in pa__init()
|
D | alsa-ucm.h | 167 int pa_alsa_ucm_set_port(pa_alsa_ucm_mapping_context *context, pa_device_port *port, bool is_sink); 272 pa_device_port *core_port;
|
D | alsa-ucm.c | 91 static void ucm_port_data_init(pa_alsa_ucm_port_data *port, pa_alsa_ucm_config *ucm, pa_device_port… 93 static void ucm_port_data_free(pa_device_port *port); 906 pa_device_port *port; in set_eld_devices() 935 pa_device_port *port; in probe_volumes() 995 pa_device_port *port; in ucm_add_port_combination() 1353 pa_device_port *port; in pa_alsa_ucm_set_profile() 1393 int pa_alsa_ucm_set_port(pa_alsa_ucm_mapping_context *context, pa_device_port *port, bool is_sink) { in pa_alsa_ucm_set_port() 2281 static void ucm_port_data_init(pa_alsa_ucm_port_data *port, pa_alsa_ucm_config *ucm, pa_device_port… in ucm_port_data_init() 2305 static void ucm_port_data_free(pa_device_port *port) { in ucm_port_data_free() 2380 int pa_alsa_ucm_set_port(pa_alsa_ucm_mapping_context *context, pa_device_port *port, bool is_sink) { in pa_alsa_ucm_set_port()
|
D | alsa-mixer.h | 213 pa_device_port* port;
|
D | alsa-source.c | 1144 static void sync_mixer(struct userdata *u, pa_device_port *port) { in sync_mixer() 1192 pa_device_port *port = data; in source_process_msg() 1532 static int source_set_port_ucm_cb(pa_source *s, pa_device_port *p) { in source_set_port_ucm_cb() 1552 static int source_set_port_cb(pa_source *s, pa_device_port *p) { in source_set_port_cb() 2289 pa_device_port *port; in pa_alsa_source_new()
|
D | alsa-sink.c | 1273 static void sync_mixer(struct userdata *u, pa_device_port *port) { in sync_mixer() 1321 pa_device_port *port = data; in sink_process_msg() 1661 static int sink_set_port_ucm_cb(pa_sink *s, pa_device_port *p) { in sink_set_port_ucm_cb() 1681 static int sink_set_port_cb(pa_sink *s, pa_device_port *p) { in sink_set_port_cb() 2603 pa_device_port *port; in pa_alsa_sink_new()
|
D | alsa-mixer.c | 5273 static pa_device_port* device_port_alsa_init(pa_hashmap *ports, /* card ports */ in device_port_alsa_init() 5282 pa_device_port *p; in device_port_alsa_init() 5342 pa_device_port *port = device_port_alsa_init(ports, path->name, in pa_alsa_path_set_add_ports() 5349 pa_device_port *port; in pa_alsa_path_set_add_ports()
|
/third_party/pulseaudio/src/modules/dbus/ |
D | iface-device-port.c | 43 pa_device_port *port; 179 pa_device_port *port = call_data; in available_changed_cb() 206 pa_device_port *port, in pa_dbusiface_device_port_new()
|
D | iface-device-port.h | 41 pa_device_port *port,
|
D | iface-device.c | 94 pa_device_port *active_port; 1191 pa_device_port *new_active_port = NULL; in port_changed_cb() 1248 pa_device_port *port; in pa_dbusiface_device_new_sink() 1291 pa_device_port *port; in pa_dbusiface_device_new_source()
|
/third_party/pulseaudio/src/modules/raop/ |
D | raop-sink.c | 625 static int sink_set_port_cb(pa_sink *s, pa_device_port *p) { in sink_set_port_cb() 629 static pa_device_port *raop_create_port(struct userdata *u, const char *server) { in raop_create_port() 631 pa_device_port *port; in raop_create_port() 665 static pa_card *raop_create_card(pa_module *m, pa_device_port *port, pa_card_profile *profile, cons… in raop_create_card() 707 pa_device_port *port; in pa_raop_sink_new()
|
/third_party/pulseaudio/src/modules/bluetooth/ |
D | module-bluez5-device.c | 232 pa_device_port *port; in connect_ports() 1763 pa_device_port *port; in create_card_ports() 1864 pa_device_port *input_port, *output_port; in create_card_profile() 2082 pa_device_port *port; in handle_transport_state_change()
|