Lines Matching refs:state
65 pa_sink_state_t state;
67 /* Set in the beginning of pa_sink_unlink() before setting the sink state
110 /* Saved volume state while we're in passthrough mode */
128 /* Callbacks for doing things when the sink state and/or suspend cause is
130 * implementation doesn't have anything to do on state or suspend cause
134 * report failure if and only if the sink changes its state from
136 * failure also when changing state from INIT to IDLE or RUNNING, but
143 * only if the sink changes state from SUSPENDED to IDLE or RUNNING. If
145 * called again, this time with the state parameter set to SUSPENDED and
148 * pa_sink.state, pa_sink.thread_info.state and pa_sink.suspend_cause
150 * state is set to SUSPENDED and the suspend cause is set to 0. */
151 int (*set_state_in_main_thread)(pa_sink *s, pa_sink_state_t state, pa_suspend_cause_t suspend_cause); /* may be NULL */
152 int (*set_state_in_io_thread)(pa_sink *s, pa_sink_state_t state, pa_suspend_cause_t suspend_cause); /* may be NULL */
276 pa_sink_state_t state;
509 const char *pa_sink_state_to_string(pa_sink_state_t state);
583 pa_assert(pa_thread_mq_get() || !PA_SINK_IS_LINKED((s)->state))