Home
last modified time | relevance | path

Searched refs:PA_SOURCE_IS_OPENED (Results 1 – 15 of 15) sorted by relevance

/third_party/pulseaudio/src/pulse/
Ddef.h1017 static inline int PA_SOURCE_IS_OPENED(pa_source_state_t x) { in PA_SOURCE_IS_OPENED() function
1033 #define PA_SOURCE_IS_OPENED PA_SOURCE_IS_OPENED macro
/third_party/pulseaudio/src/modules/
Dmodule-null-source.c111 if (PA_SOURCE_IS_OPENED(new_state)) in source_set_state_in_io_thread_cb()
151 if (PA_SOURCE_IS_OPENED(u->source->thread_info.state)) { in thread_func()
Dmodule-solaris.c480 pa_assert(PA_SOURCE_IS_OPENED(s->thread_info.state)); in source_set_state_in_io_thread_cb()
748 if (u->source && PA_SOURCE_IS_OPENED(u->source->thread_info.state) && (revents & POLLIN)) { in thread_func()
805 … pollfd->events = (u->source && PA_SOURCE_IS_OPENED(u->source->thread_info.state)) ? POLLIN : 0; in thread_func()
Dmodule-sine-source.c170 if (PA_SOURCE_IS_OPENED(u->source->thread_info.state)) { in thread_func()
Dmodule-tunnel-source-new.c273 if (PA_SOURCE_IS_OPENED(u->source->thread_info.state)) in stream_state_cb()
Dmodule-suspend-on-idle.c402 if (PA_SOURCE_IS_OPENED(s->state)) in device_state_changed_hook_cb()
Dmodule-tunnel.c638 if (PA_SOURCE_IS_OPENED(u->source->thread_info.state)) in source_process_msg()
686 pa_assert(PA_SOURCE_IS_OPENED(s->state)); in source_set_state_in_main_thread_cb()
1699 pa_tagstruct_put_boolean(reply, !PA_SOURCE_IS_OPENED(u->source->state)); in setup_complete_callback()
Dmodule-waveout.c273 if (u->source && PA_SOURCE_IS_OPENED(u->source->thread_info.state)) { in thread_func()
/third_party/pulseaudio/src/modules/oss/
Dmodule-oss.c170 if (u->source && PA_SOURCE_IS_OPENED(source_state)) in trigger()
210 if (u->source && PA_SOURCE_IS_OPENED(source_state)) { in trigger()
700 quick = u->source && PA_SOURCE_IS_OPENED(u->source->thread_info.state); in sink_set_state_in_io_thread_cb()
773 pa_assert(PA_SOURCE_IS_OPENED(s->thread_info.state)); in source_set_state_in_io_thread_cb()
1024 …if (u->source && PA_SOURCE_IS_OPENED(u->source->thread_info.state) && ((revents & POLLIN) || u->us… in thread_func()
1135 (((u->source && PA_SOURCE_IS_OPENED(u->source->thread_info.state)) ? POLLIN : 0) | in thread_func()
/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()
1256 pa_assert(PA_SOURCE_IS_OPENED(s->thread_info.state)); in source_set_state_in_io_thread_cb()
1644 if (PA_SOURCE_IS_OPENED(u->source->thread_info.state)) { in thread_func()
1732 if (PA_SOURCE_IS_OPENED(u->source->thread_info.state)) { in thread_func()
/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()
2226 (s->thread_info.state == PA_SOURCE_SUSPENDED && PA_SOURCE_IS_OPENED(data->state)) || in pa_source_process_msg()
2227 (PA_SOURCE_IS_OPENED(s->thread_info.state) && data->state == PA_SOURCE_SUSPENDED); in pa_source_process_msg()
/third_party/pulseaudio/src/modules/bluetooth/
Dmodule-bluez5-device.c920 if (!PA_SOURCE_IS_OPENED(s->thread_info.state)) in source_set_state_in_io_thread_cb()
1125 if (!u->source || !PA_SOURCE_IS_OPENED(u->source->thread_info.state)) in sink_set_state_in_io_thread_cb()
2111 if (PA_SOURCE_IS_OPENED(u->source->state)) in handle_transport_state_change()
/third_party/pulseaudio/src/modules/macosx/
Dmodule-coreaudio-device.c333 if (PA_SOURCE_IS_OPENED(source->pa_source->thread_info.state)) { in source_process_msg()
/third_party/pulseaudio/src/modules/echo-cancel/
Dmodule-echo-cancel.c1090 if (PA_SOURCE_IS_OPENED(u->source_output->source->thread_info.state)) in source_output_process_msg_cb()
/third_party/pulseaudio/vala/
Dlibpulse.vapi1534 [CCode (cname="PA_SOURCE_IS_OPENED")]