Home
last modified time | relevance | path

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

/third_party/pulseaudio/src/pulsecore/
H A 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_caus in pa_source_sync_suspend()
[all...]
H A Dsource.h52 return x == PA_SOURCE_RUNNING || x == PA_SOURCE_IDLE || x == PA_SOURCE_SUSPENDED; in PA_SOURCE_IS_LINKED()
H A Dcore.c549 if (so->state != PA_SOURCE_SUSPENDED) in pa_core_maybe_vacuum()
H A Dcli-command.c1891 pa_strbuf_printf(buf, "suspend-source %s %s\n", source->name, pa_yes_no(source->state == PA_SOURCE_SUSPENDED)); in pa_cli_command_dump()
H A Dsource-output.c403 data->source->state == PA_SOURCE_SUSPENDED) { in pa_source_output_new()
H A Dprotocol-esound.c981 if (source->state == PA_SOURCE_SUSPENDED) in esd_proto_standby_mode()
H A Dprotocol-native.c1640 suspend = (o->source->state == PA_SOURCE_SUSPENDED); in source_output_suspend_cb()
1682 pa_tagstruct_put_boolean(t, dest->state == PA_SOURCE_SUSPENDED); in source_output_moving_cb()
2280 pa_tagstruct_put_boolean(reply, s->source_output->source->state == PA_SOURCE_SUSPENDED); in command_create_record_stream()
/third_party/pulseaudio/src/pulse/
H A Ddef.h997 PA_SOURCE_SUSPENDED = 2, enumerator
1030 #define PA_SOURCE_SUSPENDED PA_SOURCE_SUSPENDED macro
/third_party/pulseaudio/src/modules/
H A Dmodule-null-source.c112 if (s->thread_info.state == PA_SOURCE_SUSPENDED || s->thread_info.state == PA_SOURCE_INIT) { in source_set_state_in_io_thread_cb()
H A Dmodule-remap-source.c124 pa_source_output_cork(u->source_output, state == PA_SOURCE_SUSPENDED); in source_set_state_in_main_thread_cb()
H A Dmodule-solaris.c499 case PA_SOURCE_SUSPENDED: in source_set_state_in_io_thread_cb()
512 if (s->thread_info.state == PA_SOURCE_SUSPENDED) { in source_set_state_in_io_thread_cb()
H A Dmodule-loopback.c929 if (dest->state == PA_SOURCE_SUSPENDED) in source_output_moving_cb()
975 suspended = (o->source->state == PA_SOURCE_SUSPENDED); in source_output_suspend_cb()
1915 if (u->source_output->source->state != PA_SOURCE_SUSPENDED) in pa__init()
H A Dmodule-suspend-on-idle.c496 if (d->source && d->source->state == PA_SOURCE_SUSPENDED) { in pa__done()
H A Dmodule-tunnel-source-new.c528 case PA_SOURCE_SUSPENDED: { in source_set_state_in_io_thread_cb()
H A Dmodule-virtual-source.c200 pa_source_output_cork(u->source_output, state == PA_SOURCE_SUSPENDED); in source_set_state_in_main_thread_cb()
H A Dmodule-tunnel.c735 stream_cork_within_thread(u, u->source->thread_info.state == PA_SOURCE_SUSPENDED); in source_process_msg()
832 case PA_SOURCE_SUSPENDED: in source_set_state_in_main_thread_cb()
839 if (s->state == PA_SOURCE_SUSPENDED) in source_set_state_in_main_thread_cb()
/third_party/pulseaudio/src/modules/alsa/
H A Dalsa-source.c1263 if (PA_SOURCE_IS_OPENED(old_state) && new_state == PA_SOURCE_SUSPENDED) in source_set_state_in_main_thread_cb()
1265 else if (old_state == PA_SOURCE_SUSPENDED && PA_SOURCE_IS_OPENED(new_state)) in source_set_state_in_main_thread_cb()
1296 case PA_SOURCE_SUSPENDED: { in source_set_state_in_io_thread_cb()
1318 if (s->thread_info.state == PA_SOURCE_SUSPENDED) { in source_set_state_in_io_thread_cb()
/third_party/pulseaudio/src/modules/bluetooth/
H A Dmodule-bluez5-device.c886 case PA_SOURCE_SUSPENDED: in source_set_state_in_io_thread_cb()
887 /* Ignore if transition is PA_SOURCE_INIT->PA_SOURCE_SUSPENDED */ in source_set_state_in_io_thread_cb()
905 if (s->thread_info.state != PA_SOURCE_SUSPENDED) in source_set_state_in_io_thread_cb()
1135 if (!u->source || u->source->state == PA_SOURCE_SUSPENDED) in sink_set_state_in_io_thread_cb()
/third_party/pulseaudio/src/modules/oss/
H A Dmodule-oss.c774 case PA_SOURCE_SUSPENDED: in source_set_state_in_io_thread_cb()
793 if (s->thread_info.state == PA_SOURCE_SUSPENDED) { in source_set_state_in_io_thread_cb()
/third_party/pulseaudio/src/modules/macosx/
H A Dmodule-coreaudio-device.c519 case PA_SOURCE_SUSPENDED: in ca_source_set_state_in_main_thread()
/third_party/pulseaudio/src/modules/echo-cancel/
H A Dmodule-echo-cancel.c490 } else if (state == PA_SOURCE_SUSPENDED) { in source_set_state_in_main_thread_cb()
/third_party/pulseaudio/src/utils/
H A Dpactl.c743 [1+PA_SOURCE_SUSPENDED] = "SUSPENDED" in get_source_info_callback()

Completed in 51 milliseconds