Searched refs:PA_SOURCE_IS_OPENED (Results 1 – 15 of 15) sorted by relevance
1017 static inline int PA_SOURCE_IS_OPENED(pa_source_state_t x) { in PA_SOURCE_IS_OPENED() function1033 #define PA_SOURCE_IS_OPENED PA_SOURCE_IS_OPENED macro
111 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()
480 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()
170 if (PA_SOURCE_IS_OPENED(u->source->thread_info.state)) { in thread_func()
273 if (PA_SOURCE_IS_OPENED(u->source->thread_info.state)) in stream_state_cb()
402 if (PA_SOURCE_IS_OPENED(s->state)) in device_state_changed_hook_cb()
638 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()
273 if (u->source && PA_SOURCE_IS_OPENED(u->source->thread_info.state)) { in thread_func()
170 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()
1222 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()
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()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()
920 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()
333 if (PA_SOURCE_IS_OPENED(source->pa_source->thread_info.state)) { in source_process_msg()
1090 if (PA_SOURCE_IS_OPENED(u->source_output->source->thread_info.state)) in source_output_process_msg_cb()
1534 [CCode (cname="PA_SOURCE_IS_OPENED")]