Home
last modified time | relevance | path

Searched refs:pa_safe_streq (Results 1 – 17 of 17) sorted by relevance

/third_party/pulseaudio/src/modules/
Dmodule-switch-on-port-available.c74 if (pa_safe_streq(card->active_profile->name, "off")) in profile_good_for_output()
77 if (!pa_safe_streq(card->active_profile->input_name, profile->input_name)) in profile_good_for_output()
109 if (pa_safe_streq(card->active_profile->name, "off")) in profile_good_for_input()
112 if (!pa_safe_streq(card->active_profile->output_name, profile->output_name)) in profile_good_for_input()
170 if (pa_safe_streq(name ? name : profile->name, port->preferred_profile)) in try_to_switch_profile()
235pa_safe_streq(port->preferred_profile, profile_name_for_dir(card->active_profile, port->direction)… in find_port_pointers()
312 if (pa_safe_streq(pa_proplist_gets(port->card->proplist, PA_PROP_DEVICE_BUS), "bluetooth")) in port_available_hook_callback()
487 if (pa_safe_streq(old_profile->input_name, new_profile->input_name)) in update_preferred_input_port()
503 …if (pa_idxset_size(card->sinks) > 0 && !pa_safe_streq(old_profile->output_name, new_profile->outpu… in update_preferred_input_port()
523 if (pa_safe_streq(old_profile->output_name, new_profile->output_name)) in update_preferred_output_port()
[all …]
Dmodule-switch-on-connect.c83 if (pa_safe_streq(s, "pci") || pa_safe_streq(s, "isa")) { in sink_put_hook_callback()
144 if (pa_safe_streq(s, "pci") || pa_safe_streq(s, "isa")) { in source_put_hook_callback()
Dmodule-card-restore.c193 if (!pa_safe_streq(a->preferred_input_port, b->preferred_input_port)) in entrys_equal()
196 if (!pa_safe_streq(a->preferred_output_port, b->preferred_output_port)) in entrys_equal()
445 if (!pa_safe_streq(p_info->profile, p->preferred_profile)) { in update_profile_for_port()
496 if (pa_safe_streq(entry->profile, profile->name)) { in card_profile_added_callback()
585 if (pa_safe_streq(s, "bluetooth")) in card_choose_initial_profile_callback()
Dmodule-intended-roles.c183 if (pa_safe_streq(si->sink->name, si->preferred_sink)) in sink_put_hook_callback()
233 if (pa_safe_streq(so->source->name, so->preferred_source)) in source_put_hook_callback()
Dmodule-stream-restore.c644 device_updated = (e->device_valid != !!device[0]) || !pa_safe_streq(e->device, device); in handle_add_entry()
756 updated = (e->device_valid != !!device[0]) || !pa_safe_streq(e->device, device); in handle_entry_set_device()
1584 if (!created_new_entry && !pa_safe_streq(entry->device, old->device)) in update_preferred_device()
2095 if (pa_safe_streq(client_name, "gnome-control-center")) { in extension_cb()
2096 …if (entry->device_valid && ((m->core->default_sink && pa_safe_streq(device, m->core->default_sink-… in extension_cb()
2097 (m->core->default_source && pa_safe_streq(device, m->core->default_source->name)))) { in extension_cb()
Dmodule-device-manager.c664 if (pa_safe_streq(si->sink->name, si->preferred_sink) || si->sink_requested_by_application) in route_sink_input()
739 … if (pa_safe_streq(so->source->name, so->preferred_source) || so->source_requested_by_application) in route_source_output()
934 …if (e->user_set_description && !pa_safe_streq(e->description, pa_proplist_gets(new_data->proplist,… in sink_new_hook_callback()
958 …if (e->user_set_description && !pa_safe_streq(e->description, pa_proplist_gets(new_data->proplist,… in source_new_hook_callback()
/third_party/pulseaudio/src/pulsecore/
Dcore.c96 pa_assert(pa_safe_streq(object_path, "/core")); in core_message_handler()
284 if (pa_safe_streq(sink, old_sink)) in pa_core_set_configured_default_sink()
306 if (pa_safe_streq(source, old_source)) in pa_core_set_configured_default_source()
338 if (pa_safe_streq(b->name, core->configured_default_sink)) in compare_sinks()
340 if (pa_safe_streq(a->name, core->configured_default_sink)) in compare_sinks()
419 if (pa_safe_streq(b->name, core->configured_default_source)) in compare_sources()
421 if (pa_safe_streq(a->name, core->configured_default_source)) in compare_sources()
599 if (pa_safe_streq(si->preferred_sink, s->name)) in pa_core_move_streams_to_newly_available_preferred_sink()
633 if (pa_safe_streq(so->preferred_source, s->name)) in pa_core_move_streams_to_newly_available_preferred_source()
Dcore-util.h231 static inline bool pa_safe_streq(const char *a, const char *b) { in pa_safe_streq() function
Ddevice-port.c87 if (!pa_safe_streq(p->preferred_profile, new_pp)) { in pa_device_port_set_preferred_profile()
Dmodule.c155 if (!pa_safe_streq(version, PACKAGE_VERSION)) { in pa_module_load()
Dsink.c1025 if (!i->module || !pa_safe_streq(i->module->name, "module-combine-sink")) { in pa_sink_process_input_underruns()
4072 if (pa_safe_streq(old_sink->name, i->preferred_sink) && default_sink_changed) in pa_sink_move_streams_to_default_sink()
Dsource-output.c1567 if (pa_safe_streq(o->preferred_source, source_name)) in set_preferred_source()
Dsink-input.c2056 if (pa_safe_streq(i->preferred_sink, sink_name)) in set_preferred_sink()
Dsource.c3041 if (pa_safe_streq(old_source->name, o->preferred_source) && default_source_changed) in pa_source_move_streams_to_default_source()
/third_party/pulseaudio/src/modules/bluetooth/
Dbackend-ofono.c591 if (!pa_safe_streq(backend->ofono_bus_id, sender) && !pa_streq(DBUS_SERVICE_DBUS, sender)) in filter_cb()
662 if (!pa_safe_streq(backend->ofono_bus_id, sender)) { in hf_audio_agent_release()
687 if (!pa_safe_streq(backend->ofono_bus_id, sender)) { in hf_audio_agent_new_connection()
/third_party/pulseaudio/src/modules/raop/
Draop-client.c1305 if (pa_safe_streq(mth, "Basic") && realm) { in rtsp_auth_cb()
1311 } else if (pa_safe_streq(mth, "Digest") && realm && nonce) { in rtsp_auth_cb()
/third_party/pulseaudio/src/modules/alsa/
Dmodule-alsa-card.c1049 pa_safe_streq(pa_proplist_gets(data.proplist, "alsa.driver_name"), "snd_hdmi_lpe_audio")) { in pa__init()