Lines Matching refs:state
66 pa_source_state_t state;
69 * state to UNLINKED. The purpose is to prevent moving streams to a source
111 /* Saved volume state while we're in passthrough mode */
129 /* Callbacks for doing things when the source state and/or suspend cause is
131 * implementation doesn't have anything to do on state or suspend cause
135 * report failure if and only if the source changes its state from
137 * failure also when changing state from INIT to IDLE or RUNNING, but
144 * only if the source changes state from SUSPENDED to IDLE or RUNNING. If
146 * called again, this time with the state parameter set to SUSPENDED and
149 * pa_source.state, pa_source.thread_info.state and pa_source.suspend_cause
151 * state is set to SUSPENDED and the suspend cause is set to 0. */
152 int (*set_state_in_main_thread)(pa_source *s, pa_source_state_t state, pa_suspend_cause_t suspend_cause); /* may be NULL */
153 int (*set_state_in_io_thread)(pa_source *s, pa_source_state_t state, pa_suspend_cause_t suspend_cause); /* may be NULL */
234 pa_source_state_t state;
431 const char *pa_source_state_to_string(pa_source_state_t state);
492 pa_assert(pa_thread_mq_get() || !PA_SOURCE_IS_LINKED((s)->state))