Home
last modified time | relevance | path

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

/third_party/pulseaudio/src/modules/
Dmodule-switch-on-port-available.c90 …if ((sink->active_port->available != PA_AVAILABLE_NO) && (sink->active_port->priority >= port->pri… in profile_good_for_output()
122 …if ((source->active_port->available != PA_AVAILABLE_NO) && (source->active_port->priority >= port-… in profile_good_for_input()
265 if (p->available == PA_AVAILABLE_NO) in switch_from_port()
348 case PA_AVAILABLE_NO: in port_available_hook_callback()
366 if (profile->available == PA_AVAILABLE_NO) in find_best_profile()
382 if (profile->available != PA_AVAILABLE_NO) in card_profile_available_hook_callback()
404 if (port->available == PA_AVAILABLE_NO) in handle_all_unavailable()
425 if (p->available != PA_AVAILABLE_NO) in new_sink_source()
Dmodule-switch-on-connect.c113 … if (!c->default_sink->active_port || c->default_sink->active_port->available != PA_AVAILABLE_NO) { in sink_put_hook_callback()
173 …(!c->default_source->active_port || c->default_source->active_port->available != PA_AVAILABLE_NO) { in source_put_hook_callback()
Dmodule-card-restore.c469 if (profile->available == PA_AVAILABLE_NO) in card_profile_added_callback()
573 if (profile->available != PA_AVAILABLE_NO) { in card_choose_initial_profile_callback()
Dmodule-stream-restore.c1509 if (!s->active_port || s->active_port->available != PA_AVAILABLE_NO) { in sink_input_new_hook_callback()
1616 if (!s->active_port || s->active_port->available != PA_AVAILABLE_NO) { in source_output_new_hook_callback()
/third_party/pulseaudio/src/pulsecore/
Dcore.c286 if (a->active_port && a->active_port->available == PA_AVAILABLE_NO in compare_sinks()
287 && (!b->active_port || b->active_port->available != PA_AVAILABLE_NO)) in compare_sinks()
289 if (b->active_port && b->active_port->available == PA_AVAILABLE_NO in compare_sinks()
290 && (!a->active_port || a->active_port->available != PA_AVAILABLE_NO)) in compare_sinks()
367 if (a->active_port && a->active_port->available == PA_AVAILABLE_NO in compare_sources()
368 && (!b->active_port || b->active_port->available != PA_AVAILABLE_NO)) in compare_sources()
370 if (b->active_port && b->active_port->available == PA_AVAILABLE_NO in compare_sources()
371 && (!a->active_port || a->active_port->available != PA_AVAILABLE_NO)) in compare_sources()
Ddevice-port.c132 if (sink->active_port->available == PA_AVAILABLE_NO) { in pa_device_port_set_available()
140 if (source->active_port->available == PA_AVAILABLE_NO) { in pa_device_port_set_available()
262 if (p->available == PA_AVAILABLE_NO) in pa_device_port_find_best()
Dcard.h33 PA_AVAILABLE_NO = 1, enumerator
Dcard.c43 case PA_AVAILABLE_NO: in pa_available_to_string()
206 if (profile->available == PA_AVAILABLE_NO) in pa_card_choose_initial_profile()
Dprotocol-native.c3350 pa_tagstruct_putu32(t, (p->available != PA_AVAILABLE_NO)); in card_fill_tagstruct()
/third_party/pulseaudio/src/modules/alsa/
Dmodule-alsa-card.c334 if (cpa == PA_AVAILABLE_NO) { in calc_port_state()
427 if (tp->avail != PA_AVAILABLE_NO) in report_jack_state()
430 if (tp->avail == PA_AVAILABLE_NO) in report_jack_state()
445 pa_sink_suspend(sink, tp->avail == PA_AVAILABLE_NO, PA_SUSPEND_UNAVAILABLE); in report_jack_state()
486 if (port->available != PA_AVAILABLE_NO) in report_jack_state()
491 if (port->available != PA_AVAILABLE_NO) in report_jack_state()
497 available = PA_AVAILABLE_NO; in report_jack_state()
Dalsa-ucm.c2269 available = device->jack->plugged_in ? PA_AVAILABLE_YES : PA_AVAILABLE_NO; in pa_alsa_ucm_device_update_available()
2273 available = PA_AVAILABLE_NO; in pa_alsa_ucm_device_update_available()
2331 else if (device->available == PA_AVAILABLE_NO) { in ucm_port_update_available()
2332 available = PA_AVAILABLE_NO; in ucm_port_update_available()
Dalsa-mixer.c167 jack->state_unplugged = PA_AVAILABLE_NO; in pa_alsa_jack_new()
2603 pa = PA_AVAILABLE_NO; in jack_parse_state()
4407 if (!j->has_control || j->state_plugged == PA_AVAILABLE_NO) in profile_set_set_availability_groups()
4416 if (!j2->has_control || j2->state_plugged == PA_AVAILABLE_NO) in profile_set_set_availability_groups()
Dalsa-sink.c1699 if (data->suspend_when_unavailable && p->available == PA_AVAILABLE_NO) in sink_set_port_cb()
2743 … if (port_data->suspend_when_unavailable && u->sink->active_port->available == PA_AVAILABLE_NO) in pa_alsa_sink_new()
/third_party/pulseaudio/src/modules/dbus/
Diface-card-profile.c159 available = p->profile->available != PA_AVAILABLE_NO; in handle_get_available()
181 available = p->profile->available != PA_AVAILABLE_NO; in handle_get_all()
Diface-card.c538 available = profile->available != PA_AVAILABLE_NO; in card_profile_available_changed_cb()
/third_party/pulseaudio/src/modules/bluetooth/
Dmodule-bluetooth-policy.c151 if (profile->available == PA_AVAILABLE_NO) in card_set_profile()
333 if (profile->available == PA_AVAILABLE_NO) in find_best_profile()
Dmodule-bluez5-device.c1716 pa_available_t result = PA_AVAILABLE_NO; in get_port_availability()
1736 if (result == PA_AVAILABLE_NO) in get_port_availability()
1753 return PA_AVAILABLE_NO; in transport_state_to_availability()
1936 cp->available = PA_AVAILABLE_NO; in create_card_profile()
2100 …release = (oldavail != PA_AVAILABLE_NO && t->state != PA_BLUETOOTH_TRANSPORT_STATE_PLAYING && u->p… in handle_transport_state_change()