Home
last modified time | relevance | path

Searched refs:PA_SUSPEND_USER (Results 1 – 6 of 6) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Dcore.h34 PA_SUSPEND_USER = 1, /* Exposed to the user via some protocol */ enumerator
Dprotocol-esound.c954 ok = pa_sink_suspend_all(c->protocol->core, true, PA_SUSPEND_USER) >= 0; in esd_proto_standby_or_resume()
955 ok &= pa_source_suspend_all(c->protocol->core, true, PA_SUSPEND_USER) >= 0; in esd_proto_standby_or_resume()
958 ok = pa_sink_suspend_all(c->protocol->core, false, PA_SUSPEND_USER) >= 0; in esd_proto_standby_or_resume()
959 ok &= pa_source_suspend_all(c->protocol->core, false, PA_SUSPEND_USER) >= 0; in esd_proto_standby_or_resume()
Dcli-command.c1432 if ((r = pa_sink_suspend(sink, suspend, PA_SUSPEND_USER)) < 0) in pa_cli_command_suspend_sink()
1470 if ((r = pa_source_suspend(source, suspend, PA_SUSPEND_USER)) < 0) in pa_cli_command_suspend_source()
1497 if ((r = pa_sink_suspend_all(c, suspend, PA_SUSPEND_USER)) < 0) in pa_cli_command_suspend()
1500 if ((r = pa_source_suspend_all(c, suspend, PA_SUSPEND_USER)) < 0) in pa_cli_command_suspend()
Dprotocol-native.c4629 if (pa_sink_suspend_all(c->protocol->core, b, PA_SUSPEND_USER) < 0) { in command_suspend()
4646 if (pa_sink_suspend(sink, b, PA_SUSPEND_USER) < 0) { in command_suspend()
4659 if (pa_source_suspend_all(c->protocol->core, b, PA_SUSPEND_USER) < 0) { in command_suspend()
4677 if (pa_source_suspend(source, b, PA_SUSPEND_USER) < 0) { in command_suspend()
/third_party/pulseaudio/src/modules/bluetooth/
Dmodule-bluez5-device.c1019 data.suspend_cause = PA_SUSPEND_USER; in add_source()
1025 data.suspend_cause = PA_SUSPEND_USER; in add_source()
1202 data.suspend_cause = PA_SUSPEND_USER; in add_sink()
1208 data.suspend_cause = PA_SUSPEND_USER; in add_sink()
2121 pa_source_suspend(u->source, false, PA_SUSPEND_IDLE|PA_SUSPEND_USER); in handle_transport_state_change()
2132 pa_sink_suspend(u->sink, false, PA_SUSPEND_IDLE|PA_SUSPEND_USER); in handle_transport_state_change()
2145 pa_source_suspend(u->source, true, PA_SUSPEND_USER); in handle_transport_state_change()
2150 pa_sink_suspend(u->sink, true, PA_SUSPEND_USER); in handle_transport_state_change()
/third_party/pulseaudio/src/modules/dbus/
Diface-device.c950 if (pa_sink_suspend(d->sink, suspend, PA_SUSPEND_USER) < 0) { in handle_suspend()
958 if (pa_source_suspend(d->source, suspend, PA_SUSPEND_USER) < 0) { in handle_suspend()