Lines Matching refs:state
112 } state;
195 if (new_state == s->thread_info.state)
201 pa_assert(PA_SINK_IS_OPENED(s->thread_info.state));
213 if (s->thread_info.state == PA_SINK_SUSPENDED)
257 if (PA_SINK_IS_OPENED(u->sink->thread_info.state) && pollfd->revents) {
353 pollfd->events = (short) (PA_SINK_IS_OPENED(u->sink->thread_info.state) ? POLLOUT : 0);
409 if (!u->write_data && u->state == STATE_PREPARE) {
435 u->state = STATE_RUNNING;
444 switch (u->state) {
460 u->state = STATE_LATENCY;
489 u->state = STATE_PREPARE;
512 if (u->state == STATE_AUTH || u->state == STATE_LATENCY) {
636 u->state = STATE_AUTH;