Lines Matching defs:state
125 static void raop_state_cb(pa_raop_state_t state, void *userdata) {
132 pa_asyncmsgq_post(u->thread_mq.inq, PA_MSGOBJECT(u->sink), PA_SINK_MESSAGE_SET_RAOP_STATE, PA_INT_TO_PTR(state), 0, NULL, NULL);
169 if (u->sink->state == PA_SINK_RUNNING) {
197 if (u->autoreconnect && u->sink->state == PA_SINK_RUNNING) {
232 if (u->sink->thread_info.state == PA_SINK_SUSPENDED) {
264 if (u->sink->thread_info.state == PA_SINK_SUSPENDED) {
271 if (u->sink->thread_info.state != PA_SINK_IDLE) {
277 if (u->sink->thread_info.state != PA_SINK_IDLE)
301 if (new_state == s->thread_info.state)
308 pa_assert(PA_SINK_IS_OPENED(s->thread_info.state));
320 /* Issue a FLUSH if we're coming from running state */
321 if (s->thread_info.state == PA_SINK_RUNNING) {
459 if (PA_SINK_IS_OPENED(u->sink->thread_info.state)) {
493 /* one of UDP fds is in faulty state, may have been disconnected, this is fatal */
513 if (u->sink->thread_info.state != PA_SINK_RUNNING) {