Home
last modified time | relevance | path

Searched refs:PA_SOURCE_SUSPENDED (Results 1 – 22 of 22) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Dsource.c379 suspending = PA_SOURCE_IS_OPENED(s->state) && state == PA_SOURCE_SUSPENDED; in source_set_state()
380 resuming = s->state == PA_SOURCE_SUSPENDED && PA_SOURCE_IS_OPENED(state); in source_set_state()
400 state = PA_SOURCE_SUSPENDED; in source_set_state()
421 s->set_state_in_main_thread(s, PA_SOURCE_SUSPENDED, 0); in source_set_state()
425 state = PA_SOURCE_SUSPENDED; in source_set_state()
468 if (s->state == PA_SOURCE_SUSPENDED && in source_set_state()
672 pa_assert_se(source_set_state(s, PA_SOURCE_SUSPENDED, s->suspend_cause) == 0); in pa_source_put()
831 if (s->state == PA_SOURCE_SUSPENDED) in pa_source_update_status()
855 return source_set_state(s, PA_SOURCE_SUSPENDED, merged_cause); in pa_source_suspend()
882 return source_set_state(s, PA_SOURCE_SUSPENDED, suspend_cause); in pa_source_sync_suspend()
[all …]
Dsource.h52 return x == PA_SOURCE_RUNNING || x == PA_SOURCE_IDLE || x == PA_SOURCE_SUSPENDED; in PA_SOURCE_IS_LINKED()
Dcore.c503 if (so->state != PA_SOURCE_SUSPENDED) in pa_core_maybe_vacuum()
Dsource-output.c401 data->source->state == PA_SOURCE_SUSPENDED) { in pa_source_output_new()
Dprotocol-esound.c981 if (source->state == PA_SOURCE_SUSPENDED) in esd_proto_standby_mode()
Dprotocol-native.c1781 suspend = (o->source->state == PA_SOURCE_SUSPENDED); in source_output_suspend_cb()
1823 pa_tagstruct_put_boolean(t, dest->state == PA_SOURCE_SUSPENDED); in source_output_moving_cb()
2421 pa_tagstruct_put_boolean(reply, s->source_output->source->state == PA_SOURCE_SUSPENDED); in command_create_record_stream()
Dcli-command.c1845 …intf(buf, "suspend-source %s %s\n", source->name, pa_yes_no(source->state == PA_SOURCE_SUSPENDED)); in pa_cli_command_dump()
/third_party/pulseaudio/src/pulse/
Ddef.h997 PA_SOURCE_SUSPENDED = 2, enumerator
1030 #define PA_SOURCE_SUSPENDED PA_SOURCE_SUSPENDED macro
/third_party/pulseaudio/src/modules/
Dmodule-null-source.c110 if (s->thread_info.state == PA_SOURCE_SUSPENDED || s->thread_info.state == PA_SOURCE_INIT) { in source_set_state_in_io_thread_cb()
Dmodule-loopback.c736 if (dest->state == PA_SOURCE_SUSPENDED) in source_output_moving_cb()
776 suspended = (o->source->state == PA_SOURCE_SUSPENDED); in source_output_suspend_cb()
1615 if (u->source_output->source->state != PA_SOURCE_SUSPENDED) in pa__init()
Dmodule-remap-source.c121 pa_source_output_cork(u->source_output, state == PA_SOURCE_SUSPENDED); in source_set_state_in_main_thread_cb()
Dmodule-solaris.c478 case PA_SOURCE_SUSPENDED: in source_set_state_in_io_thread_cb()
491 if (s->thread_info.state == PA_SOURCE_SUSPENDED) { in source_set_state_in_io_thread_cb()
Dmodule-tunnel-source-new.c451 case PA_SOURCE_SUSPENDED: { in source_set_state_in_io_thread_cb()
Dmodule-suspend-on-idle.c487 if (d->source && d->source->state == PA_SOURCE_SUSPENDED) { in pa__done()
Dmodule-tunnel.c615 stream_cork_within_thread(u, u->source->thread_info.state == PA_SOURCE_SUSPENDED); in source_process_msg()
685 case PA_SOURCE_SUSPENDED: in source_set_state_in_main_thread_cb()
692 if (s->state == PA_SOURCE_SUSPENDED) in source_set_state_in_main_thread_cb()
Dmodule-virtual-source.c197 pa_source_output_cork(u->source_output, state == PA_SOURCE_SUSPENDED); in source_set_state_in_main_thread_cb()
/third_party/pulseaudio/src/modules/alsa/
Dalsa-source.c1222 if (PA_SOURCE_IS_OPENED(old_state) && new_state == PA_SOURCE_SUSPENDED) in source_set_state_in_main_thread_cb()
1224 else if (old_state == PA_SOURCE_SUSPENDED && PA_SOURCE_IS_OPENED(new_state)) in source_set_state_in_main_thread_cb()
1255 case PA_SOURCE_SUSPENDED: { in source_set_state_in_io_thread_cb()
1277 if (s->thread_info.state == PA_SOURCE_SUSPENDED) { in source_set_state_in_io_thread_cb()
/third_party/pulseaudio/src/modules/bluetooth/
Dmodule-bluez5-device.c918 case PA_SOURCE_SUSPENDED: in source_set_state_in_io_thread_cb()
934 if (s->thread_info.state != PA_SOURCE_SUSPENDED) in source_set_state_in_io_thread_cb()
1111 if (!u->source || u->source->state == PA_SOURCE_SUSPENDED) in sink_set_state_in_io_thread_cb()
/third_party/pulseaudio/src/modules/oss/
Dmodule-oss.c772 case PA_SOURCE_SUSPENDED: in source_set_state_in_io_thread_cb()
791 if (s->thread_info.state == PA_SOURCE_SUSPENDED) { in source_set_state_in_io_thread_cb()
/third_party/pulseaudio/src/modules/macosx/
Dmodule-coreaudio-device.c519 case PA_SOURCE_SUSPENDED: in ca_source_set_state_in_main_thread()
/third_party/pulseaudio/src/utils/
Dpactl.c391 [1+PA_SOURCE_SUSPENDED] = "SUSPENDED" in get_source_info_callback()
/third_party/pulseaudio/src/modules/echo-cancel/
Dmodule-echo-cancel.c484 } else if (state == PA_SOURCE_SUSPENDED) { in source_set_state_in_main_thread_cb()