Home
last modified time | relevance | path

Searched refs:suspend_cause (Results 1 – 24 of 24) sorted by relevance

/third_party/pulseaudio/src/pulsecore/
Dcard.c390 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()
Dsource.c61 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 …]
Dsource.h74 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
Dsink.h73 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
Dsink.c69 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 …]
Dcard.h87 pa_suspend_cause_t suspend_cause; member
Dcli-text.c242 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/
Dmodule-suspend-on-idle.c68 …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()
Dmodule-virtual-source.c116 …_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
Dmodule-remap-source.c111 …_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
Dmodule-remap-sink.c103 …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
Dmodule-virtual-sink.c115 …_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
Dmodule-ladspa-sink.c383 …_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()
Dmodule-loopback.c737 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()
Dmodule-virtual-surround-sink.c143 …_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
Dmodule-tunnel.c571 …_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
Dmodule-combine-sink.c684 …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
Dmodule-equalizer-sink.c276 …_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/
Dmodule-coreaudio-device.c357 …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/
Dmodule-alsa-card.c388 if (u->card->suspend_cause & PA_SUSPEND_SESSION) in report_jack_state()
746 if (card->suspend_cause == 0) { in card_suspend_changed()
Dalsa-source.c1216 && (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()
Dalsa-sink.c1345 && (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/
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()
/third_party/pulseaudio/src/modules/echo-cancel/
Dmodule-echo-cancel.c467 …_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