Home
last modified time | relevance | path

Searched refs:pa_card_profile (Results 1 – 20 of 20) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Dcard.h37 struct pa_card_profile { struct
63 #define PA_CARD_PROFILE_DATA(d) ((void*) ((uint8_t*) d + PA_ALIGN(sizeof(pa_card_profile)))) argument
79 pa_card_profile *active_profile;
94 int (*set_profile)(pa_card *c, pa_card_profile *profile);
119 pa_card_profile *pa_card_profile_new(const char *name, const char *description, size_t extra);
120 void pa_card_profile_free(pa_card_profile *c);
123 void pa_card_profile_set_available(pa_card_profile *c, pa_available_t available);
140 void pa_card_add_profile(pa_card *c, pa_card_profile *profile);
142 int pa_card_set_profile(pa_card *c, pa_card_profile *profile, bool save);
Dcard.c60 pa_card_profile *pa_card_profile_new(const char *name, const char *description, size_t extra) { in pa_card_profile_new()
61 pa_card_profile *c; in pa_card_profile_new()
65 c = pa_xmalloc0(PA_ALIGN(sizeof(pa_card_profile)) + extra); in pa_card_profile_new()
73 void pa_card_profile_free(pa_card_profile *c) { in pa_card_profile_free()
83 void pa_card_profile_set_available(pa_card_profile *c, pa_available_t available) { in pa_card_profile_set_available()
150 pa_card_profile *profile; in pa_card_new()
210 pa_card_profile *profile; in pa_card_choose_initial_profile()
212 pa_card_profile *best = NULL; in pa_card_choose_initial_profile()
297 void pa_card_add_profile(pa_card *c, pa_card_profile *profile) { in pa_card_add_profile()
310 static const char* profile_name_for_dir(pa_card_profile *cp, pa_direction_t dir) { in profile_name_for_dir()
[all …]
Dtypedefs.h25 typedef struct pa_card_profile pa_card_profile; typedef
Dcli-text.c140 pa_card_profile *profile; in pa_card_list_to_string()
Dcli-command.c1645 pa_card_profile *profile; in pa_cli_command_card_profile()
Dprotocol-native.c3341 pa_card_profile *p; in card_fill_tagstruct()
4795 pa_card_profile *profile; in command_set_card_profile()
/third_party/pulseaudio/src/modules/
Dmodule-switch-on-port-available.c42 pa_card_profile *active_profile;
65 static bool profile_good_for_output(pa_card_profile *profile, pa_device_port *port) { in profile_good_for_output()
100 static bool profile_good_for_input(pa_card_profile *profile, pa_device_port *port) { in profile_good_for_input()
136 pa_card_profile *best_profile = NULL, *profile; in try_to_switch_profile()
202 static const char* profile_name_for_dir(pa_card_profile *cp, pa_direction_t dir) { in profile_name_for_dir()
369 static pa_card_profile *find_best_profile(pa_card *card) { in find_best_profile()
370 pa_card_profile *profile, *best_profile; in find_best_profile()
387 static pa_hook_result_t card_profile_available_hook_callback(pa_core *c, pa_card_profile *profile, … in card_profile_available_hook_callback()
482 …tatic void update_preferred_input_port(pa_card *card, pa_card_profile *old_profile, pa_card_profil… in update_preferred_input_port()
518 …atic void update_preferred_output_port(pa_card *card, pa_card_profile *old_profile, pa_card_profil… in update_preferred_output_port()
[all …]
Dmodule-card-restore.c485 static pa_hook_result_t card_profile_added_callback(pa_core *c, pa_card_profile *profile, struct us… in card_profile_added_callback()
596 pa_card_profile *profile; in card_choose_initial_profile_callback()
/third_party/pulseaudio/src/modules/bluetooth/
Dmodule-bluetooth-policy.c146 pa_card_profile *profile; in card_set_profile()
327 static pa_card_profile *find_best_profile(pa_card *card) { in find_best_profile()
329 pa_card_profile *profile; in find_best_profile()
330 pa_card_profile *result = card->active_profile; in find_best_profile()
345 static pa_hook_result_t profile_available_hook_callback(pa_core *c, pa_card_profile *profile, void … in profile_available_hook_callback()
349 pa_card_profile *selected_profile; in profile_available_hook_callback()
399 pa_card_profile *profile; in handle_all_profiles()
Dmodule-bluez5-device.c2027 static pa_card_profile *create_card_profile(struct userdata *u, pa_bluetooth_profile_t profile, pa_… in create_card_profile()
2030 pa_card_profile *cp = NULL; in create_card_profile()
2132 static int set_profile_cb(pa_card *c, pa_card_profile *new_profile) { in set_profile_cb()
2198 pa_card_profile *cp; in add_card()
2291 pa_card_profile *cp; in handle_transport_state_change()
/third_party/pulseaudio/src/modules/dbus/
Diface-card-profile.h40 pa_card_profile *profile,
46 pa_card_profile *pa_dbusiface_card_profile_get_profile(pa_dbusiface_card_profile *p);
Diface-card-profile.c45 pa_card_profile *profile;
205 pa_card_profile *profile, in pa_dbusiface_card_profile_new()
247 pa_card_profile *pa_dbusiface_card_profile_get_profile(pa_dbusiface_card_profile *p) { in pa_dbusiface_card_profile_get_profile()
Diface-card.c58 pa_card_profile *active_profile;
497 pa_card_profile *profile = call_data; in card_profile_added_cb()
526 pa_card_profile *profile = call_data; in card_profile_available_changed_cb()
557 pa_card_profile *profile; in pa_dbusiface_card_new()
/third_party/pulseaudio/src/modules/alsa/
Dmodule-alsa-card.c151 pa_card_profile *cp; in add_profiles()
194 pa_card_profile *p; in add_disabled_profile()
205 static int card_set_profile(pa_card *c, pa_card_profile *new_profile) { in card_set_profile()
380 pa_card_profile *profile; in report_jack_state()
1081 pa_card_profile *profile; in pa__init()
Dalsa-ucm.h165 pa_card_profile *cp,
Dalsa-mixer.h409 void pa_alsa_path_set_add_ports(pa_alsa_path_set *ps, pa_card_profile *cp, pa_hashmap *ports, pa_ha…
Dalsa-ucm.c1014 pa_card_profile *cp, in ucm_add_port_combination()
1246 pa_card_profile *cp, in ucm_add_ports_combination()
1303 pa_card_profile *cp, in pa_alsa_ucm_add_ports_combination()
2412 pa_card_profile *cp, in pa_alsa_ucm_add_ports_combination()
Dalsa-mixer.c5361 pa_card_profile *cp, in device_port_alsa_init()
5408 pa_card_profile *cp, in pa_alsa_path_set_add_ports()
/third_party/pulseaudio/src/modules/raop/
Draop-sink.c686 static pa_card_profile *raop_create_profile() { in raop_create_profile()
687 pa_card_profile *profile; in raop_create_profile()
699 static pa_card *raop_create_card(pa_module *m, pa_device_port *port, pa_card_profile *profile, cons… in raop_create_card()
742 pa_card_profile *profile; in pa_raop_sink_new()
/third_party/pulseaudio/src/modules/macosx/
Dmodule-coreaudio-device.c131 static int card_set_profile(pa_card *c, pa_card_profile *new_profile) { in card_set_profile()
766 pa_card_profile *p; in pa__init()