/third_party/pulseaudio/src/pulsecore/ |
H A D | source.c | 379 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 D | source.h | 52 return x == PA_SOURCE_RUNNING || x == PA_SOURCE_IDLE || x == PA_SOURCE_SUSPENDED; in PA_SOURCE_IS_LINKED()
|
H A D | core.c | 549 if (so->state != PA_SOURCE_SUSPENDED) in pa_core_maybe_vacuum()
|
H A D | cli-command.c | 1891 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 D | source-output.c | 403 data->source->state == PA_SOURCE_SUSPENDED) { in pa_source_output_new()
|
H A D | protocol-esound.c | 981 if (source->state == PA_SOURCE_SUSPENDED) in esd_proto_standby_mode()
|
H A D | protocol-native.c | 1640 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 D | def.h | 997 PA_SOURCE_SUSPENDED = 2, enumerator 1030 #define PA_SOURCE_SUSPENDED PA_SOURCE_SUSPENDED macro
|
/third_party/pulseaudio/src/modules/ |
H A D | module-null-source.c | 112 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 D | module-remap-source.c | 124 pa_source_output_cork(u->source_output, state == PA_SOURCE_SUSPENDED); in source_set_state_in_main_thread_cb()
|
H A D | module-solaris.c | 499 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 D | module-loopback.c | 929 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 D | module-suspend-on-idle.c | 496 if (d->source && d->source->state == PA_SOURCE_SUSPENDED) { in pa__done()
|
H A D | module-tunnel-source-new.c | 528 case PA_SOURCE_SUSPENDED: { in source_set_state_in_io_thread_cb()
|
H A D | module-virtual-source.c | 200 pa_source_output_cork(u->source_output, state == PA_SOURCE_SUSPENDED); in source_set_state_in_main_thread_cb()
|
H A D | module-tunnel.c | 735 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 D | alsa-source.c | 1263 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 D | module-bluez5-device.c | 886 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 D | module-oss.c | 774 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 D | module-coreaudio-device.c | 519 case PA_SOURCE_SUSPENDED: in ca_source_set_state_in_main_thread()
|
/third_party/pulseaudio/src/modules/echo-cancel/ |
H A D | module-echo-cancel.c | 490 } else if (state == PA_SOURCE_SUSPENDED) { in source_set_state_in_main_thread_cb()
|
/third_party/pulseaudio/src/utils/ |
H A D | pactl.c | 743 [1+PA_SOURCE_SUSPENDED] = "SUSPENDED" in get_source_info_callback()
|