Home
last modified time | relevance | path

Searched refs:pa_proplist_gets (Results 1 – 25 of 56) sorted by relevance

123

/third_party/pulseaudio/src/modules/
Dmodule-position-event-sounds.c78 if (!(role = pa_proplist_gets(data->proplist, PA_PROP_MEDIA_ROLE))) in sink_input_fixate_hook_callback()
84 if ((id = pa_proplist_gets(data->proplist, PA_PROP_EVENT_ID))) { in sink_input_fixate_hook_callback()
100 if (!(hpos = pa_proplist_gets(data->proplist, PA_PROP_EVENT_MOUSE_HPOS))) in sink_input_fixate_hook_callback()
101 hpos = pa_proplist_gets(data->proplist, PA_PROP_WINDOW_HPOS); in sink_input_fixate_hook_callback()
103 if (!(vpos = pa_proplist_gets(data->proplist, PA_PROP_EVENT_MOUSE_VPOS))) in sink_input_fixate_hook_callback()
104 vpos = pa_proplist_gets(data->proplist, PA_PROP_WINDOW_VPOS); in sink_input_fixate_hook_callback()
116 …g("Positioning event sound '%s' horizontally at %0.2f.", pa_strnull(pa_proplist_gets(data->proplis… in sink_input_fixate_hook_callback()
126 …bug("Positioning event sound '%s' vertically at %0.2f.", pa_strnull(pa_proplist_gets(data->proplis… in sink_input_fixate_hook_callback()
Dmodule-filter-heuristics.c62 …if (!pa_proplist_gets(pl, PA_PROP_FILTER_HEURISTICS) && pa_proplist_gets(pl, PA_PROP_FILTER_APPLY)) in process()
66 … if (pa_str_in_list_spaces(pa_proplist_gets(parent_pl, PA_PROP_DEVICE_INTENDED_ROLES), "phone")) { in process()
67 const char *apply = pa_proplist_gets(pl, PA_PROP_FILTER_APPLY); in process()
77 want = pa_proplist_gets(pl, PA_PROP_FILTER_WANT); in process()
102 if (pa_proplist_gets(i->proplist, PA_PROP_FILTER_APPLY_MOVING)) in sink_input_move_finish_cb()
122 if (pa_proplist_gets(i->proplist, PA_PROP_FILTER_APPLY_MOVING)) in source_output_move_finish_cb()
Dmodule-intended-roles.c65 return pa_str_in_list_spaces(pa_proplist_gets(proplist, PA_PROP_DEVICE_INTENDED_ROLES), role); in role_match()
83 …Not setting device for stream %s, because already set.", pa_strnull(pa_proplist_gets(new_data->pro… in sink_input_new_hook_callback()
87 if (!(role = pa_proplist_gets(new_data->proplist, PA_PROP_MEDIA_ROLE))) { in sink_input_new_hook_callback()
88 …t setting device for stream %s, because it lacks role.", pa_strnull(pa_proplist_gets(new_data->pro… in sink_input_new_hook_callback()
127 …Not setting device for stream %s, because already set.", pa_strnull(pa_proplist_gets(new_data->pro… in source_output_new_hook_callback()
131 if (!(role = pa_proplist_gets(new_data->proplist, PA_PROP_MEDIA_ROLE))) { in source_output_new_hook_callback()
132 …t setting device for stream %s, because it lacks role.", pa_strnull(pa_proplist_gets(new_data->pro… in source_output_new_hook_callback()
192 if (!(role = pa_proplist_gets(si->proplist, PA_PROP_MEDIA_ROLE))) in sink_put_hook_callback()
242 if (!(role = pa_proplist_gets(so->proplist, PA_PROP_MEDIA_ROLE))) in source_put_hook_callback()
282 if (!(role = pa_proplist_gets(si->proplist, PA_PROP_MEDIA_ROLE))) in sink_unlink_hook_callback()
[all …]
Dmodule-filter-apply.c136 if ((apply = pa_proplist_gets(pl, PA_PROP_FILTER_APPLY)) && !pa_streq(apply, "")) { in get_filter_name()
137 const char* suppress = pa_proplist_gets(pl, PA_PROP_FILTER_SUPPRESS); in get_filter_name()
157 parameters = pa_proplist_gets(pl, prop_parameters); in get_filter_parameters()
189 old_filter_name = pa_proplist_gets(pl, PA_PROP_FILTER_APPLY); in set_filter_properties()
238 return pa_proplist_get_stream_group(pl, pa_proplist_gets(pl, PA_PROP_FILTER_APPLY), NULL); in get_group()
404 pa_strnull(pa_proplist_gets(pl, PA_PROP_APPLICATION_NAME)), name); in move_object_for_filter()
407 pa_strnull(pa_proplist_gets(pl, PA_PROP_APPLICATION_NAME)), name); in move_object_for_filter()
542 if (pa_proplist_gets(pl, PA_PROP_FILTER_APPLY_SET_BY_MFA)) { in process()
640 if (pa_proplist_gets(i->proplist, PA_PROP_FILTER_APPLY_MOVING)) in sink_input_move_finish_cb()
655 if (pa_proplist_gets(i->proplist, PA_PROP_FILTER_APPLY_MOVING)) in sink_input_proplist_cb()
[all …]
Dmodule-switch-on-connect.c80 s = pa_proplist_gets(sink->proplist, PA_PROP_DEVICE_STRING); in sink_put_hook_callback()
82 s = pa_proplist_gets(sink->proplist, PA_PROP_DEVICE_BUS); in sink_put_hook_callback()
143 s = pa_proplist_gets(source->proplist, PA_PROP_DEVICE_BUS); in source_put_hook_callback()
Dmodule-device-manager.c368 …pa_log_debug(" %s %s (%s)", human, pa_strnull(pa_proplist_gets(s->proplist, PA_PROP_DEVICE_DESCR… in dump_database_helper()
374 …pa_log_debug(" %s %s (%s)", human, pa_strnull(pa_proplist_gets(s->proplist, PA_PROP_DEVICE_DESCR… in dump_database_helper()
667 auto_filtered_prop = pa_proplist_gets(si->proplist, "module-device-manager.auto_filtered"); in route_sink_input()
677 if (!(role = pa_proplist_gets(si->proplist, PA_PROP_MEDIA_ROLE))) in route_sink_input()
742 auto_filtered_prop = pa_proplist_gets(so->proplist, "module-device-manager.auto_filtered"); in route_source_output()
752 if (!(role = pa_proplist_gets(so->proplist, PA_PROP_MEDIA_ROLE))) in route_source_output()
852 … entry->description = pa_xstrdup(pa_proplist_gets(sink->proplist, PA_PROP_DEVICE_DESCRIPTION)); in subscribe_callback()
853 …} else if (!pa_streq(entry->description, pa_proplist_gets(sink->proplist, PA_PROP_DEVICE_DESCRIPTI… in subscribe_callback()
862 entry->icon = pa_xstrdup(pa_proplist_gets(sink->proplist, PA_PROP_DEVICE_ICON_NAME)); in subscribe_callback()
882 … entry->description = pa_xstrdup(pa_proplist_gets(source->proplist, PA_PROP_DEVICE_DESCRIPTION)); in subscribe_callback()
[all …]
Dmodule-zeroconf-publish.c316 if ((t = pa_proplist_gets(s->proplist, PA_PROP_DEVICE_DESCRIPTION))) in publish_service()
318 if ((t = pa_proplist_gets(s->proplist, PA_PROP_DEVICE_VENDOR_NAME))) in publish_service()
320 if ((t = pa_proplist_gets(s->proplist, PA_PROP_DEVICE_PRODUCT_NAME))) in publish_service()
322 if ((t = pa_proplist_gets(s->proplist, PA_PROP_DEVICE_CLASS))) in publish_service()
324 if ((t = pa_proplist_gets(s->proplist, PA_PROP_DEVICE_FORM_FACTOR))) in publish_service()
329 } else if ((t = pa_proplist_gets(s->proplist, PA_PROP_DEVICE_ICON_NAME))) { in publish_service()
415 if (!(n = pa_proplist_gets(s->proplist, PA_PROP_DEVICE_DESCRIPTION))) in get_service()
Dmodule-allow-passthrough.c68 name = pa_proplist_gets(s->proplist, PA_PROP_MEDIA_NAME); in ensure_null_sink_for_sink()
104 … pa_strnull(pa_proplist_gets(i->proplist, PA_PROP_APPLICATION_NAME)), target->name); in move_stream()
107 … pa_strnull(pa_proplist_gets(i->proplist, PA_PROP_APPLICATION_NAME)), target->name); in move_stream()
Dmodule-virtual-source.c473 z = pa_proplist_gets(dest->proplist, PA_PROP_DEVICE_DESCRIPTION); in source_output_moving_cb()
475pa_proplist_gets(u->source->proplist, "device.vsource.name"), z ? z : dest->name); in source_output_moving_cb()
572 z = pa_proplist_gets(master->proplist, PA_PROP_DEVICE_DESCRIPTION); in pa__init()
608 …t_data.proplist, PA_PROP_MEDIA_NAME, "Virtual Source Stream of %s", pa_proplist_gets(u->source->pr… in pa__init()
653 z = pa_proplist_gets(master->proplist, PA_PROP_DEVICE_DESCRIPTION); in pa__init()
Dmodule-loopback.c481 if ((s = pa_proplist_gets(source->proplist, PA_PROP_DEVICE_API))) { in update_latency_boundaries()
721 … pa_strnull(pa_proplist_gets(dest->proplist, PA_PROP_DEVICE_DESCRIPTION))); in source_output_moving_cb()
725 if ((n = pa_proplist_gets(dest->proplist, PA_PROP_DEVICE_ICON_NAME))) in source_output_moving_cb()
1118 … pa_strnull(pa_proplist_gets(dest->proplist, PA_PROP_DEVICE_DESCRIPTION))); in sink_input_moving_cb()
1122 if ((n = pa_proplist_gets(dest->proplist, PA_PROP_DEVICE_ICON_NAME))) in sink_input_moving_cb()
1584 … pa_strnull(pa_proplist_gets(u->sink_input->sink->proplist, PA_PROP_DEVICE_DESCRIPTION))); in pa__init()
1587 && (n = pa_proplist_gets(u->sink_input->sink->proplist, PA_PROP_DEVICE_ICON_NAME))) in pa__init()
1592 … pa_strnull(pa_proplist_gets(u->source_output->source->proplist, PA_PROP_DEVICE_DESCRIPTION))); in pa__init()
1595 && (n = pa_proplist_gets(u->source_output->source->proplist, PA_PROP_DEVICE_ICON_NAME))) in pa__init()
Dmodule-virtual-sink.c445 z = pa_proplist_gets(dest->proplist, PA_PROP_DEVICE_DESCRIPTION); in sink_input_moving_cb()
447pa_proplist_gets(u->sink->proplist, "device.vsink.name"), z ? z : dest->name); in sink_input_moving_cb()
549 z = pa_proplist_gets(master->proplist, PA_PROP_DEVICE_DESCRIPTION); in pa__init()
585 …t_data.proplist, PA_PROP_MEDIA_NAME, "Virtual Sink Stream from %s", pa_proplist_gets(u->sink->prop… in pa__init()
Dmodule-augment-properties.c261 t = pa_proplist_gets(p, PA_PROP_APPLICATION_NAME); in apply_rule()
291 if (!(pn = pa_proplist_gets(p, PA_PROP_APPLICATION_PROCESS_BINARY))) in process()
Dmodule-virtual-surround-sink.c477 z = pa_proplist_gets(dest->proplist, PA_PROP_DEVICE_DESCRIPTION); in sink_input_moving_cb()
479pa_proplist_gets(u->sink->proplist, "device.vsurroundsink.name"), z ? z : dest->name); in sink_input_moving_cb()
723 z = pa_proplist_gets(master->proplist, PA_PROP_DEVICE_DESCRIPTION); in pa__init()
759 …oplist, PA_PROP_MEDIA_NAME, "Virtual Surround Sink Stream from %s", pa_proplist_gets(u->sink->prop… in pa__init()
/third_party/pulseaudio/src/modules/alsa/
Dalsa-ucm.c65 #define PA_UCM_IS_MODIFIER_MAPPING(m) ((pa_proplist_gets((m)->proplist, PA_ALSA_PROP_UCM_MODIFIER))…
217 name = pa_proplist_gets(d->proplist, PA_ALSA_PROP_UCM_NAME); in ucm_add_devices_to_idxset()
275 value = pa_proplist_gets(device->proplist, mprop); in ucm_get_mixer_id()
280 value = pa_proplist_gets(device->proplist, cprop); in ucm_get_mixer_id()
328 vol->master_elem = pa_xstrdup(pa_proplist_gets(device->proplist, masterid)); in ucm_get_mixer_volume()
329 vol->master_type = pa_xstrdup(pa_proplist_gets(device->proplist, mastertype)); in ucm_get_mixer_volume()
339 dev_name = pa_proplist_gets(dev->proplist, PA_ALSA_PROP_UCM_PLAYBACK_MIXER_DEVICE); in get_mixer_device()
341 dev_name = pa_proplist_gets(dev->proplist, PA_ALSA_PROP_UCM_PLAYBACK_CTL_DEVICE); in get_mixer_device()
343 dev_name = pa_proplist_gets(dev->proplist, PA_ALSA_PROP_UCM_CAPTURE_MIXER_DEVICE); in get_mixer_device()
345 dev_name = pa_proplist_gets(dev->proplist, PA_ALSA_PROP_UCM_CAPTURE_CTL_DEVICE); in get_mixer_device()
[all …]
Dmodule-alsa-card.c558 old_monitor_name = pa_proplist_gets(p->proplist, PA_PROP_DEVICE_PRODUCT_NAME); in hdmi_eld_changed()
763 role = pa_proplist_gets(sink_input->proplist, PA_PROP_MEDIA_ROLE); in sink_input_put_hook_callback()
778 role = pa_proplist_gets(source_output->proplist, PA_PROP_MEDIA_ROLE); in source_output_put_hook_callback()
793 role = pa_proplist_gets(sink_input->proplist, PA_PROP_MEDIA_ROLE); in sink_input_unlink_hook_callback()
808 role = pa_proplist_gets(source_output->proplist, PA_PROP_MEDIA_ROLE); in source_output_unlink_hook_callback()
953 if ((description = pa_proplist_gets(data.proplist, PA_PROP_DEVICE_DESCRIPTION))) in pa__init()
980 pa_safe_streq(pa_proplist_gets(data.proplist, "alsa.driver_name"), "snd_hdmi_lpe_audio")) { in pa__init()
/third_party/pulseaudio/src/pulsecore/
Dproplist-util.c206 if ((t = pa_proplist_gets(p, PA_PROP_APPLICATION_PROCESS_BINARY))) in pa_init_proplist()
255 if (cache && (r = pa_proplist_gets(p, cache))) in pa_proplist_get_stream_group()
261 if ((r = pa_proplist_gets(p, PA_PROP_MEDIA_ROLE))) in pa_proplist_get_stream_group()
263 else if ((r = pa_proplist_gets(p, PA_PROP_APPLICATION_ID))) in pa_proplist_get_stream_group()
265 else if ((r = pa_proplist_gets(p, PA_PROP_APPLICATION_NAME))) in pa_proplist_get_stream_group()
267 else if ((r = pa_proplist_gets(p, PA_PROP_MEDIA_NAME))) in pa_proplist_get_stream_group()
Dclient.c74 …pa_log_info("Created %u \"%s\"", c->index, pa_strnull(pa_proplist_gets(c->proplist, PA_PROP_APPLIC… in pa_client_new()
96 …pa_log_info("Freed %u \"%s\"", c->index, pa_strnull(pa_proplist_gets(c->proplist, PA_PROP_APPLICAT… in pa_client_free()
126 …Client %u changed name from \"%s\" to \"%s\"", c->index, pa_strnull(pa_proplist_gets(c->proplist, … in pa_client_set_name()
Dcli-text.c172 …buf_printf(s, "\t\t%s/#%u: %s\n", sink->name, sink->index, pa_strna(pa_proplist_gets(sink->proplis… in pa_card_list_to_string()
178 …printf(s, "\t\t%s/#%u: %s\n", source->name, source->index, pa_strna(pa_proplist_gets(source->propl… in pa_card_list_to_string()
497 …trbuf_printf(s, "\tclient: %u <%s>\n", o->client->index, pa_strnull(pa_proplist_gets(o->client->pr… in pa_source_output_list_to_string()
594 …trbuf_printf(s, "\tclient: %u <%s>\n", i->client->index, pa_strnull(pa_proplist_gets(i->client->pr… in pa_sink_input_list_to_string()
Dsink.c382 dn = pa_proplist_gets(s->proplist, PA_PROP_DEVICE_DESCRIPTION); in pa_sink_new()
2410 old = pa_proplist_gets(s->proplist, PA_PROP_DEVICE_DESCRIPTION); in pa_sink_set_description()
3461 if ((ff = pa_proplist_gets(p, PA_PROP_DEVICE_FORM_FACTOR))) { in pa_device_init_icon()
3493 if ((c = pa_proplist_gets(p, PA_PROP_DEVICE_CLASS))) in pa_device_init_icon()
3504 if ((profile = pa_proplist_gets(p, PA_PROP_DEVICE_PROFILE_NAME))) { in pa_device_init_icon()
3513 bus = pa_proplist_gets(p, PA_PROP_DEVICE_BUS); in pa_device_init_icon()
3528 if ((s = pa_proplist_gets(card->proplist, PA_PROP_DEVICE_DESCRIPTION))) in pa_device_init_description()
3532 if ((s = pa_proplist_gets(p, PA_PROP_DEVICE_FORM_FACTOR))) in pa_device_init_description()
3537 if ((s = pa_proplist_gets(p, PA_PROP_DEVICE_CLASS))) in pa_device_init_description()
3542 d = pa_proplist_gets(p, PA_PROP_DEVICE_PRODUCT_NAME); in pa_device_init_description()
[all …]
/third_party/pulseaudio/src/modules/bluetooth/
Dmodule-bluetooth-policy.c76 s = pa_proplist_gets(source->proplist, PA_PROP_DEVICE_BUS); in source_put_hook_callback()
83 s = pa_proplist_gets(source->proplist, "bluetooth.protocol"); in source_put_hook_callback()
117 s = pa_proplist_gets(sink->proplist, PA_PROP_DEVICE_BUS); in sink_put_hook_callback()
124 s = pa_proplist_gets(sink->proplist, "bluetooth.protocol"); in sink_put_hook_callback()
184 s = pa_proplist_gets(card->proplist, PA_PROP_DEVICE_BUS); in switch_profile()
220 s = pa_proplist_gets(source_output->proplist, PA_PROP_MEDIA_ROLE); in ignore_output()
303 s = pa_proplist_gets(card->proplist, PA_PROP_DEVICE_BUS); in card_init_profile_hook_callback()
356 s = pa_proplist_gets(card->proplist, PA_PROP_DEVICE_BUS); in profile_available_hook_callback()
/third_party/pulseaudio/src/modules/macosx/
Dmodule-bonjour-publish.c237 if ((t = pa_proplist_gets(proplist, PA_PROP_DEVICE_DESCRIPTION))) in publish_service()
239 if ((t = pa_proplist_gets(proplist, PA_PROP_DEVICE_ICON_NAME))) in publish_service()
241 if ((t = pa_proplist_gets(proplist, PA_PROP_DEVICE_VENDOR_NAME))) in publish_service()
243 if ((t = pa_proplist_gets(proplist, PA_PROP_DEVICE_PRODUCT_NAME))) in publish_service()
245 if ((t = pa_proplist_gets(proplist, PA_PROP_DEVICE_CLASS))) in publish_service()
247 if ((t = pa_proplist_gets(proplist, PA_PROP_DEVICE_FORM_FACTOR))) in publish_service()
297 if (!(n = pa_proplist_gets(PA_SINK(device)->proplist, PA_PROP_DEVICE_DESCRIPTION))) in get_service()
300 if (!(n = pa_proplist_gets(PA_SOURCE(device)->proplist, PA_PROP_DEVICE_DESCRIPTION))) in get_service()
/third_party/pulseaudio/src/pulse/
Dformat.c187 value_one = pa_proplist_gets(first->plist, key); in pa_format_info_is_compatible()
188 value_two = pa_proplist_gets(second->plist, key); in pa_format_info_is_compatible()
248 str = pa_proplist_gets(f->plist, key); in pa_format_info_get_prop_type()
317 str = pa_proplist_gets(f->plist, key); in pa_format_info_get_prop_int()
350 str = pa_proplist_gets(f->plist, key); in pa_format_info_get_prop_int_range()
396 str = pa_proplist_gets(f->plist, key); in pa_format_info_get_prop_int_array()
440 str = pa_proplist_gets(f->plist, key); in pa_format_info_get_prop_string()
473 str = pa_proplist_gets(f->plist, key); in pa_format_info_get_prop_string_array()
Dscache.c51 if (!(name = pa_proplist_gets(s->proplist, PA_PROP_EVENT_ID))) in pa_stream_connect_upload()
52 name = pa_proplist_gets(s->proplist, PA_PROP_MEDIA_NAME); in pa_stream_connect_upload()
Dproplist.h314 const char *pa_proplist_gets(const pa_proplist *p, const char *key);
/third_party/pulseaudio/src/tests/
Dproplist-test.c49 fail_unless(!pa_proplist_gets(a, PA_PROP_MEDIA_ICON)); in START_TEST()
51 pa_log_debug("%s", pa_strnull(pa_proplist_gets(a, PA_PROP_MEDIA_TITLE))); in START_TEST()

123