/third_party/pulseaudio/src/modules/ |
H A D | module-intended-roles.c | 64 static bool role_match(pa_proplist *proplist, const char *role) { in role_match() argument 65 return pa_str_in_list_spaces(pa_proplist_gets(proplist, PA_PROP_DEVICE_INTENDED_ROLES), role); in role_match() 77 if (!new_data->proplist) { in sink_input_new_hook_callback() 83 pa_log_debug("Not setting device for stream %s, because already set.", pa_strnull(pa_proplist_gets(new_data->proplist, PA_PROP_MEDIA_NAME))); 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 pa_log_debug("Not setting device for stream %s, because it lacks role.", pa_strnull(pa_proplist_gets(new_data->proplist, PA_PROP_MEDIA_NAME))); in sink_input_new_hook_callback() 94 if (role_match(c->default_sink->proplist, role) && pa_sink_input_new_data_set_sink(new_data, c->default_sink, false, false)) in sink_input_new_hook_callback() 105 if (role_match(s->proplist, role) && pa_sink_input_new_data_set_sink(new_data, s, false, false)) in sink_input_new_hook_callback() 121 if (!new_data->proplist) { in source_output_new_hook_callback() 127 pa_log_debug("Not setting device for stream %s, because already set.", pa_strnull(pa_proplist_gets(new_data->proplist, PA_PROP_MEDIA_NAM in source_output_new_hook_callback() [all...] |
H A D | module-match.c | 71 pa_proplist *proplist; member 110 pa_proplist *proplist = NULL; in load_rules() local 174 proplist = pa_proplist_from_string(value_str); in load_rules() 180 if (proplist) in load_rules() 181 pa_proplist_free(proplist); in load_rules() 187 rule->proplist = proplist; in load_rules() 219 if (!(n = pa_proplist_gets(si->proplist, u->property_key))) in sink_input_fixate_hook_callback() 226 if (r->proplist) { in sink_input_fixate_hook_callback() 227 pa_log_debug("updating proplist o in sink_input_fixate_hook_callback() [all...] |
H A D | module-augment-properties.c | 57 pa_proplist *proplist; member 72 if (r->proplist) in rule_free() 73 pa_proplist_free(r->proplist); in rule_free() 88 if (r->proplist) { in parse_properties() 89 pa_proplist_update(r->proplist, PA_UPDATE_MERGE, n); in parse_properties() 92 r->proplist = n; in parse_properties() 232 if (r->proplist) in update_rule() 233 pa_proplist_clear(r->proplist); in update_rule() 251 if (r->proplist) in apply_rule() 252 pa_proplist_update(p, PA_UPDATE_MERGE, r->proplist); in apply_rule() [all...] |
H A D | module-position-event-sounds.c | 78 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 pa_log_debug("Positioning event sound '%s' horizontally at %0.2f.", pa_strnull(pa_proplist_gets(data->proplist, PA_PROP_EVENT_ID)), f); in sink_input_fixate_hook_callback() 126 pa_log_debug("Positioning event sound '%s' vertically at %0.2f.", pa_strnull(pa_proplist_gets(data->proplist, PA_PROP_EVENT_ID)), f); in sink_input_fixate_hook_callback()
|
H A D | module-virtual-source.c | 476 z = pa_proplist_gets(dest->proplist, PA_PROP_DEVICE_DESCRIPTION); in source_output_moving_cb() 478 pa_proplist_gets(u->source->proplist, "device.vsource.name"), z ? z : dest->name); in source_output_moving_cb() 562 pa_proplist_sets(source_data.proplist, PA_PROP_DEVICE_MASTER_DEVICE, master->name); in pa__init() 563 pa_proplist_sets(source_data.proplist, PA_PROP_DEVICE_CLASS, "filter"); in pa__init() 564 pa_proplist_sets(source_data.proplist, "device.vsource.name", source_data.name); in pa__init() 566 if (pa_modargs_get_proplist(ma, "source_properties", source_data.proplist, PA_UPDATE_REPLACE) < 0) { in pa__init() 572 if ((u->auto_desc = !pa_proplist_contains(source_data.proplist, PA_PROP_DEVICE_DESCRIPTION))) { in pa__init() 575 z = pa_proplist_gets(master->proplist, PA_PROP_DEVICE_DESCRIPTION); in pa__init() 576 pa_proplist_setf(source_data.proplist, PA_PROP_DEVICE_DESCRIPTION, "Virtual Source %s on %s", source_data.name, z ? z : master->name); in pa__init() 611 pa_proplist_setf(source_output_data.proplist, PA_PROP_MEDIA_NAM in pa__init() [all...] |
H A D | module-tunnel-sink-new.c | 44 #include <pulsecore/proplist-util.h> 169 pa_proplist *proplist = pa_proplist_new(); in tunnel_new_proplist() local 170 pa_assert(proplist); in tunnel_new_proplist() 171 pa_proplist_sets(proplist, PA_PROP_APPLICATION_NAME, "PulseAudio"); in tunnel_new_proplist() 172 pa_proplist_sets(proplist, PA_PROP_APPLICATION_ID, "org.PulseAudio.PulseAudio"); in tunnel_new_proplist() 173 pa_proplist_sets(proplist, PA_PROP_APPLICATION_VERSION, PACKAGE_VERSION); in tunnel_new_proplist() 174 pa_init_proplist(proplist); in tunnel_new_proplist() 176 return proplist; in tunnel_new_proplist() 181 pa_proplist *proplist; in thread_func() local 188 proplist in thread_func() 364 pa_proplist *proplist; on_sink_created() local [all...] |
H A D | module-tunnel-source-new.c | 44 #include <pulsecore/proplist-util.h> 158 pa_proplist *proplist = pa_proplist_new(); in tunnel_new_proplist() local 159 pa_assert(proplist); in tunnel_new_proplist() 160 pa_proplist_sets(proplist, PA_PROP_APPLICATION_NAME, "PulseAudio"); in tunnel_new_proplist() 161 pa_proplist_sets(proplist, PA_PROP_APPLICATION_ID, "org.PulseAudio.PulseAudio"); in tunnel_new_proplist() 162 pa_proplist_sets(proplist, PA_PROP_APPLICATION_VERSION, PACKAGE_VERSION); in tunnel_new_proplist() 163 pa_init_proplist(proplist); in tunnel_new_proplist() 165 return proplist; in tunnel_new_proplist() 229 pa_proplist *proplist; in thread_func() local 236 proplist in thread_func() 348 pa_proplist *proplist; on_source_created() local [all...] |
H A D | module-filter-heuristics.c | 54 pl = PA_SINK_INPUT(o)->proplist; in process() 55 parent_pl = PA_SINK_INPUT(o)->sink->proplist; in process() 57 pl = PA_SOURCE_OUTPUT(o)->proplist; in process() 58 parent_pl = PA_SOURCE_OUTPUT(o)->source->proplist; 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()
|
H A D | module-filter-apply.c | 36 #include <pulsecore/proplist-util.h> 131 pl = PA_SINK_INPUT(o)->proplist; in get_filter_name() 133 pl = PA_SOURCE_OUTPUT(o)->proplist; in get_filter_name() 152 pl = PA_SINK_INPUT(o)->proplist; in get_filter_parameters() 153 device_pl = PA_SINK_INPUT(o)->sink->proplist; in get_filter_parameters() 155 pl = PA_SOURCE_OUTPUT(o)->proplist; in get_filter_parameters() 156 device_pl = PA_SOURCE_OUTPUT(o)->source->proplist; in get_filter_parameters() 237 pl = PA_SINK_INPUT(o)->proplist; in get_group() 239 pl = PA_SOURCE_OUTPUT(o)->proplist; in get_group() 392 pl = PA_SINK_INPUT(o)->proplist; in move_object_for_filter() [all...] |
H A D | module-virtual-sink.c | 448 z = pa_proplist_gets(dest->proplist, PA_PROP_DEVICE_DESCRIPTION); in sink_input_moving_cb() 450 pa_proplist_gets(u->sink->proplist, "device.vsink.name"), z ? z : dest->name); in sink_input_moving_cb() 539 pa_proplist_sets(sink_data.proplist, PA_PROP_DEVICE_MASTER_DEVICE, master->name); in pa__init() 540 pa_proplist_sets(sink_data.proplist, PA_PROP_DEVICE_CLASS, "filter"); in pa__init() 541 pa_proplist_sets(sink_data.proplist, "device.vsink.name", sink_data.name); in pa__init() 543 if (pa_modargs_get_proplist(ma, "sink_properties", sink_data.proplist, PA_UPDATE_REPLACE) < 0) { in pa__init() 549 if ((u->auto_desc = !pa_proplist_contains(sink_data.proplist, PA_PROP_DEVICE_DESCRIPTION))) { in pa__init() 552 z = pa_proplist_gets(master->proplist, PA_PROP_DEVICE_DESCRIPTION); in pa__init() 553 pa_proplist_setf(sink_data.proplist, PA_PROP_DEVICE_DESCRIPTION, "Virtual Sink %s on %s", sink_data.name, z ? z : master->name); in pa__init() 588 pa_proplist_setf(sink_input_data.proplist, PA_PROP_MEDIA_NAM in pa__init() [all...] |
/third_party/pulseaudio/src/pulsecore/ |
H A D | client.c | 43 data->proplist = pa_proplist_new(); in pa_client_new_data_init() 51 pa_proplist_free(data->proplist); in pa_client_new_data_done() 65 c->proplist = pa_proplist_copy(data->proplist); in pa_client_new() 74 pa_log_info("Created %u \"%s\"", c->index, pa_strnull(pa_proplist_gets(c->proplist, PA_PROP_APPLICATION_NAME))); in pa_client_new() 96 pa_log_info("Freed %u \"%s\"", c->index, pa_strnull(pa_proplist_gets(c->proplist, PA_PROP_APPLICATION_NAME))); in pa_client_free() 104 pa_proplist_free(c->proplist); in pa_client_free() 126 pa_log_info("Client %u changed name from \"%s\" to \"%s\"", c->index, pa_strnull(pa_proplist_gets(c->proplist, PA_PROP_APPLICATION_NAME)), name); in pa_client_set_name() 127 pa_proplist_sets(c->proplist, PA_PROP_APPLICATION_NAME, name); in pa_client_set_name() 136 pa_proplist_update(c->proplist, mod in pa_client_update_proplist() [all...] |
H A D | conf-parser.c | 68 /* Parse a proplist entry. */ 71 pa_assert(state->proplist); in proplist_assignment() 73 if (pa_proplist_sets(state->proplist, state->lvalue, state->rvalue) < 0) { in proplist_assignment() 74 pa_log("[%s:%u] Failed to parse a proplist entry: %s = %s", state->filename, state->lineno, state->lvalue, state->rvalue); in proplist_assignment() 107 r = pa_config_parse(fn, NULL, state->item_table, state->proplist, false, state->userdata); in parse_line() 127 if (!state->proplist) { in parse_line() 163 int pa_config_parse(const char *filename, FILE *f, const pa_config_item *t, pa_proplist *proplist, bool use_dot_d, in pa_config_parse() argument 190 if (proplist) in pa_config_parse() 191 state.proplist = pa_proplist_new(); in pa_config_parse() 208 if (proplist) in pa_config_parse() [all...] |
H A D | module.c | 32 #include <pulse/proplist.h> 136 m->proplist = pa_proplist_new(); in pa_module_load() 224 if (mi->author && !pa_proplist_contains(m->proplist, PA_PROP_MODULE_AUTHOR)) in pa_module_load() 225 pa_proplist_sets(m->proplist, PA_PROP_MODULE_AUTHOR, mi->author); in pa_module_load() 227 if (mi->description && !pa_proplist_contains(m->proplist, PA_PROP_MODULE_DESCRIPTION)) in pa_module_load() 228 pa_proplist_sets(m->proplist, PA_PROP_MODULE_DESCRIPTION, mi->description); in pa_module_load() 230 if (mi->version && !pa_proplist_contains(m->proplist, PA_PROP_MODULE_VERSION)) in pa_module_load() 231 pa_proplist_sets(m->proplist, PA_PROP_MODULE_VERSION, mi->version); in pa_module_load() 251 if (m->proplist) in pa_module_load() 252 pa_proplist_free(m->proplist); in pa_module_load() [all...] |
H A D | dbus-util.c | 575 void pa_dbus_send_proplist_variant_reply(DBusConnection *c, DBusMessage *in_reply_to, pa_proplist *proplist) { in pa_dbus_send_proplist_variant_reply() argument 581 pa_assert(proplist); in pa_dbus_send_proplist_variant_reply() 585 pa_dbus_append_proplist_variant(&msg_iter, proplist); in pa_dbus_send_proplist_variant_reply() 671 void pa_dbus_append_proplist(DBusMessageIter *iter, pa_proplist *proplist) { in pa_dbus_append_proplist() argument 679 pa_assert(proplist); in pa_dbus_append_proplist() 683 while ((key = pa_proplist_iterate(proplist, &state))) { in pa_dbus_append_proplist() 687 pa_assert_se(pa_proplist_get(proplist, key, &value, &nbytes) >= 0); in pa_dbus_append_proplist() 703 void pa_dbus_append_proplist_variant(DBusMessageIter *iter, pa_proplist *proplist) { in pa_dbus_append_proplist_variant() argument 707 pa_assert(proplist); in pa_dbus_append_proplist_variant() 710 pa_dbus_append_proplist(&variant_iter, proplist); in pa_dbus_append_proplist_variant() 714 pa_dbus_append_proplist_variant_dict_entry(DBusMessageIter *dict_iter, const char *key, pa_proplist *proplist) pa_dbus_append_proplist_variant_dict_entry() argument 731 pa_proplist *proplist = NULL; pa_dbus_get_proplist_arg() local [all...] |
H A D | dbus-util.h | 27 #include <pulse/proplist.h> 92 void pa_dbus_send_proplist_variant_reply(DBusConnection *c, DBusMessage *in_reply_to, pa_proplist *proplist); 104 void pa_dbus_append_proplist(DBusMessageIter *iter, pa_proplist *proplist); 105 void pa_dbus_append_proplist_variant(DBusMessageIter *iter, pa_proplist *proplist); 106 void pa_dbus_append_proplist_variant_dict_entry(DBusMessageIter *dict_iter, const char *key, pa_proplist *proplist); 108 /* Returns a new proplist that the caller has to free. If the proplist contains
|
H A D | conf-parser.h | 25 #include <pulse/proplist.h> 54 pa_proplist *proplist; member 71 * long as they are valid proplist keys). If the proplist pointer is 74 * proplist. If proplist is NULL, then sections named "Properties" 76 int pa_config_parse(const char *filename, FILE *f, const pa_config_item *t, pa_proplist *proplist, bool use_dot_d,
|
H A D | cli-text.c | 67 t = pa_proplist_to_string_sep(m->proplist, "\n\t\t"); in pa_module_list_to_string() 97 t = pa_proplist_to_string_sep(client->proplist, "\n\t\t"); in pa_client_list_to_string() 116 char *t = pa_proplist_to_string_sep(p->proplist, "\n\t\t\t\t"); in append_port_list() 155 t = pa_proplist_to_string_sep(card->proplist, "\n\t\t"); in pa_card_list_to_string() 172 pa_strbuf_printf(s, "\t\t%s/#%u: %s\n", sink->name, sink->index, pa_strna(pa_proplist_gets(sink->proplist, PA_PROP_DEVICE_DESCRIPTION))); in pa_card_list_to_string() 178 pa_strbuf_printf(s, "\t\t%s/#%u: %s\n", source->name, source->index, pa_strna(pa_proplist_gets(source->proplist, PA_PROP_DEVICE_DESCRIPTION))); in pa_card_list_to_string() 285 t = pa_proplist_to_string_sep(sink->proplist, "\n\t\t"); in pa_sink_list_to_string() 396 t = pa_proplist_to_string_sep(source->proplist, "\n\t\t"); in pa_source_list_to_string() 497 pa_strbuf_printf(s, "\tclient: %u <%s>\n", o->client->index, pa_strnull(pa_proplist_gets(o->client->proplist, PA_PROP_APPLICATION_NAME))); in pa_source_output_list_to_string() 501 t = pa_proplist_to_string_sep(o->proplist, "\ in pa_source_output_list_to_string() [all...] |
H A D | client.h | 26 #include <pulse/proplist.h> 38 pa_proplist *proplist; member 53 pa_proplist *proplist; member
|
H A D | card.c | 108 data->proplist = pa_proplist_new(); in pa_card_new_data_init() 134 pa_proplist_free(data->proplist); in pa_card_new_data_done() 171 c->proplist = pa_proplist_copy(data->proplist); in pa_card_new() 194 pa_device_init_description(c->proplist, c); in pa_card_new() 195 pa_device_init_icon(c->proplist, true); in pa_card_new() 196 pa_device_init_intended_roles(c->proplist); in pa_card_new() 199 if (!(tmp = pa_proplist_gets(c->proplist, PA_PROP_DEVICE_DESCRIPTION))) in pa_card_new() 291 pa_proplist_free(c->proplist); in pa_card_free()
|
/third_party/pulseaudio/src/modules/macosx/ |
H A D | module-bonjour-publish.c | 99 *ret_proplist = sink->proplist; in get_service_data() 108 *ret_proplist = source->proplist; in get_service_data() 196 pa_proplist *proplist = NULL; in publish_service() local 219 get_service_data(s, &ss, &map, &name, &proplist, &subtype); in publish_service() 237 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_FACTO in publish_service() [all...] |
/third_party/pulseaudio/src/modules/dbus/ |
H A D | iface-client.c | 40 pa_proplist *proplist; member 260 pa_dbus_send_proplist_variant_reply(conn, msg, c->client->proplist); in handle_get_property_list() 298 pa_dbus_append_proplist_variant_dict_entry(&dict_iter, property_handlers[PROPERTY_HANDLER_PROPERTY_LIST].property_name, c->client->proplist); in handle_get_all() 381 changed |= pa_proplist_unset(c->client->proplist, keys[i]) >= 0; in handle_remove_properties() 404 if (!pa_proplist_equal(c->proplist, c->client->proplist)) { in client_proplist_changed_cb() 407 pa_proplist_update(c->proplist, PA_UPDATE_SET, c->client->proplist); in client_proplist_changed_cb() 413 pa_dbus_append_proplist(&msg_iter, c->proplist); in client_proplist_changed_cb() 432 c->proplist in pa_dbusiface_client_new() [all...] |
H A D | iface-module.c | 36 pa_proplist *proplist; member 204 pa_dbus_send_proplist_variant_reply(conn, msg, m->proplist); in handle_get_property_list() 241 pa_dbus_append_proplist_variant_dict_entry(&dict_iter, property_handlers[PROPERTY_HANDLER_PROPERTY_LIST].property_name, m->proplist); in handle_get_all() 278 if (!pa_proplist_equal(module_iface->proplist, module->proplist)) { in module_proplist_changed_cb() 281 pa_proplist_update(module_iface->proplist, PA_UPDATE_SET, module->proplist); in module_proplist_changed_cb() 287 pa_dbus_append_proplist(&msg_iter, module_iface->proplist); in module_proplist_changed_cb() 304 m->proplist = pa_proplist_copy(module->proplist); in pa_dbusiface_module_new() [all...] |
/third_party/pulseaudio/src/utils/ |
H A D | pacat.c | 84 static pa_proplist *proplist = NULL; variable 452 if (!(stream = pa_stream_new_with_proplist(c, NULL, &sample_spec, &channel_map, proplist))) { in context_state_callback() 808 proplist = pa_proplist_new(); in main() 850 pa_proplist_sets(proplist, PA_PROP_APPLICATION_NAME, t) < 0) { in main() 865 pa_proplist_sets(proplist, PA_PROP_MEDIA_NAME, t) < 0) { in main() 963 pa_proplist_setp(proplist, t) < 0) { in main() 1130 pa_proplist_update(proplist, PA_UPDATE_MERGE, sfp); in main() 1144 if (!pa_proplist_contains(proplist, PA_PROP_APPLICATION_NAME)) { in main() 1148 pa_proplist_sets(proplist, PA_PROP_APPLICATION_NAME, t); in main() 1154 if (!pa_proplist_contains(proplist, PA_PROP_MEDIA_NAM in main() [all...] |
/third_party/pulseaudio/src/pulse/ |
H A D | introspect.h | 32 #include <pulse/proplist.h> 281 pa_proplist *proplist; /**< Property list \since 0.9.11 */ member 386 pa_proplist *proplist; /**< Property list \since 0.9.11 */ member 475 pa_proplist *proplist; /**< Property list \since 0.9.15 */ member 519 pa_proplist *proplist; /**< Property list \since 0.9.11 */ member 575 pa_proplist *proplist; /**< Property list */ member 611 pa_proplist *proplist; /**< Property list */ member 660 pa_proplist *proplist; /**< Property list \since 0.9.11 */ member 710 pa_proplist *proplist; /**< Property list \since 0.9.11 */ member 781 pa_proplist *proplist; /**< Propert member [all...] |
/third_party/pulseaudio/src/modules/alsa/ |
H A D | alsa-ucm.h | 154 pa_proplist *proplist, 180 pa_proplist *proplist; member 222 pa_proplist *proplist; member 245 pa_proplist *proplist; member
|