/third_party/pulseaudio/src/pulsecore/ |
D | card.c | 390 pa_suspend_cause_t suspend_cause; in pa_card_suspend() local 397 suspend_cause = c->suspend_cause; in pa_card_suspend() 400 suspend_cause |= cause; in pa_card_suspend() 402 suspend_cause &= ~cause; in pa_card_suspend() 404 if (c->suspend_cause != suspend_cause) { in pa_card_suspend() 406 c->suspend_cause = suspend_cause; in pa_card_suspend()
|
D | source.c | 61 pa_suspend_cause_t suspend_cause; member 250 s->suspend_cause = data->suspend_cause; in pa_source_new() 361 static int source_set_state(pa_source *s, pa_source_state_t state, pa_suspend_cause_t suspend_cause… in source_set_state() argument 374 suspend_cause_changed = suspend_cause != s->suspend_cause; in source_set_state() 383 pa_assert(!resuming || !suspend_cause); in source_set_state() 394 if ((ret = s->set_state_in_main_thread(s, state, suspend_cause)) < 0) { in source_set_state() 401 suspend_cause = 0; in source_set_state() 403 suspend_cause_changed = suspend_cause != s->suspend_cause; in source_set_state() 414 struct set_state_data data = { .state = state, .suspend_cause = suspend_cause }; in source_set_state() 426 suspend_cause = 0; in source_set_state() [all …]
|
D | source.h | 74 pa_suspend_cause_t suspend_cause; member 151 …ain_thread)(pa_source *s, pa_source_state_t state, pa_suspend_cause_t suspend_cause); /* may be NU… 152 …_io_thread)(pa_source *s, pa_source_state_t state, pa_suspend_cause_t suspend_cause); /* may be NU… 303 pa_suspend_cause_t suspend_cause; member
|
D | sink.h | 73 pa_suspend_cause_t suspend_cause; member 150 …in_main_thread)(pa_sink *s, pa_sink_state_t state, pa_suspend_cause_t suspend_cause); /* may be NU… 151 …e_in_io_thread)(pa_sink *s, pa_sink_state_t state, pa_suspend_cause_t suspend_cause); /* may be NU… 365 pa_suspend_cause_t suspend_cause; member
|
D | sink.c | 69 pa_suspend_cause_t suspend_cause; member 263 s->suspend_cause = data->suspend_cause; in pa_sink_new() 408 static int sink_set_state(pa_sink *s, pa_sink_state_t state, pa_suspend_cause_t suspend_cause) { in sink_set_state() argument 421 suspend_cause_changed = suspend_cause != s->suspend_cause; in sink_set_state() 430 pa_assert(!resuming || !suspend_cause); in sink_set_state() 441 if ((ret = s->set_state_in_main_thread(s, state, suspend_cause)) < 0) { in sink_set_state() 448 suspend_cause = 0; in sink_set_state() 450 suspend_cause_changed = suspend_cause != s->suspend_cause; in sink_set_state() 461 struct set_state_data data = { .state = state, .suspend_cause = suspend_cause }; in sink_set_state() 473 suspend_cause = 0; in sink_set_state() [all …]
|
D | card.h | 87 pa_suspend_cause_t suspend_cause; member
|
D | cli-text.c | 242 pa_suspend_cause_to_string(sink->suspend_cause, suspend_cause_buf), in pa_sink_list_to_string() 353 pa_suspend_cause_to_string(source->suspend_cause, suspend_cause_buf), in pa_source_list_to_string()
|
/third_party/pulseaudio/src/modules/ |
D | module-suspend-on-idle.c | 68 …if (d->sink && pa_sink_check_suspend(d->sink, NULL, NULL) <= 0 && !(d->sink->suspend_cause & PA_SU… in timeout_cb() 74 …if (d->source && pa_source_check_suspend(d->source, NULL) <= 0 && !(d->source->suspend_cause & PA_… in timeout_cb()
|
D | module-virtual-source.c | 116 …_set_state_in_main_thread_cb(pa_sink *s, pa_sink_state_t state, pa_suspend_cause_t suspend_cause) { in sink_set_state_in_main_thread_cb() argument 187 …_state_in_main_thread_cb(pa_source *s, pa_source_state_t state, pa_suspend_cause_t suspend_cause) { in source_set_state_in_main_thread_cb() argument
|
D | module-remap-source.c | 111 …_state_in_main_thread_cb(pa_source *s, pa_source_state_t state, pa_suspend_cause_t suspend_cause) { in source_set_state_in_main_thread_cb() argument
|
D | module-remap-sink.c | 103 …ink_set_state_in_main_thread(pa_sink *s, pa_sink_state_t state, pa_suspend_cause_t suspend_cause) { in sink_set_state_in_main_thread() argument
|
D | module-virtual-sink.c | 115 …_set_state_in_main_thread_cb(pa_sink *s, pa_sink_state_t state, pa_suspend_cause_t suspend_cause) { in sink_set_state_in_main_thread_cb() argument
|
D | module-ladspa-sink.c | 383 …_set_state_in_main_thread_cb(pa_sink *s, pa_sink_state_t state, pa_suspend_cause_t suspend_cause) { in sink_set_state_in_main_thread_cb() argument 720 if (i->sink->state != PA_SINK_SUSPENDED || i->sink->suspend_cause == PA_SUSPEND_IDLE) in sink_input_suspend_cb()
|
D | module-loopback.c | 737 pa_sink_input_cork(u->sink_input, (dest->suspend_cause != PA_SUSPEND_IDLE)); in source_output_moving_cb() 1134 pa_source_output_cork(u->source_output, (dest->suspend_cause != PA_SUSPEND_IDLE)); in sink_input_moving_cb()
|
D | module-virtual-surround-sink.c | 143 …_set_state_in_main_thread_cb(pa_sink *s, pa_sink_state_t state, pa_suspend_cause_t suspend_cause) { in sink_set_state_in_main_thread_cb() argument
|
D | module-tunnel.c | 571 …_set_state_in_main_thread_cb(pa_sink *s, pa_sink_state_t state, pa_suspend_cause_t suspend_cause) { in sink_set_state_in_main_thread_cb() argument 673 …_state_in_main_thread_cb(pa_source *s, pa_source_state_t state, pa_suspend_cause_t suspend_cause) { in source_set_state_in_main_thread_cb() argument
|
D | module-combine-sink.c | 684 …t_state_in_main_thread_cb(pa_sink *sink, pa_sink_state_t state, pa_suspend_cause_t suspend_cause) { in sink_set_state_in_main_thread_cb() argument
|
D | module-equalizer-sink.c | 276 …_set_state_in_main_thread_cb(pa_sink *s, pa_sink_state_t state, pa_suspend_cause_t suspend_cause) { in sink_set_state_in_main_thread_cb() argument
|
/third_party/pulseaudio/src/modules/macosx/ |
D | module-coreaudio-device.c | 357 …ink_set_state_in_main_thread(pa_sink *s, pa_sink_state_t state, pa_suspend_cause_t suspend_cause) { in ca_sink_set_state_in_main_thread() argument 515 …set_state_in_main_thread(pa_source *s, pa_source_state_t state, pa_suspend_cause_t suspend_cause) { in ca_source_set_state_in_main_thread() argument
|
/third_party/pulseaudio/src/modules/alsa/ |
D | module-alsa-card.c | 388 if (u->card->suspend_cause & PA_SUSPEND_SESSION) in report_jack_state() 746 if (card->suspend_cause == 0) { in card_suspend_changed()
|
D | alsa-source.c | 1216 && (s->suspend_cause & PA_SUSPEND_SESSION) in source_set_state_in_main_thread_cb() 1244 && (s->suspend_cause & PA_SUSPEND_SESSION) in source_set_state_in_io_thread_cb() 1306 if (u->source->suspend_cause & PA_SUSPEND_SESSION) in ctl_mixer_callback() 1326 if (u->source->suspend_cause & PA_SUSPEND_SESSION) in io_mixer_callback()
|
D | alsa-sink.c | 1345 && (s->suspend_cause & PA_SUSPEND_SESSION) in sink_set_state_in_main_thread_cb() 1373 && (s->suspend_cause & PA_SUSPEND_SESSION) in sink_set_state_in_io_thread_cb() 1435 if (u->sink->suspend_cause & PA_SUSPEND_SESSION) in ctl_mixer_callback() 1455 if (u->sink->suspend_cause & PA_SUSPEND_SESSION) in io_mixer_callback()
|
/third_party/pulseaudio/src/modules/bluetooth/ |
D | module-bluez5-device.c | 1019 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()
|
/third_party/pulseaudio/src/modules/echo-cancel/ |
D | module-echo-cancel.c | 467 …_state_in_main_thread_cb(pa_source *s, pa_source_state_t state, pa_suspend_cause_t suspend_cause) { in source_set_state_in_main_thread_cb() argument 492 …_set_state_in_main_thread_cb(pa_sink *s, pa_sink_state_t state, pa_suspend_cause_t suspend_cause) { in sink_set_state_in_main_thread_cb() argument
|