Lines Matching defs:state
77 if (io->data->state == SND_PCM_STATE_DRAINING) {
84 if (io->data->state == SND_PCM_STATE_DRAINING)
87 io->data->state = SNDRV_PCM_STATE_XRUN;
131 status->state = io->data->state;
147 return io->data->state;
181 io->data->state = SND_PCM_STATE_PREPARED;
486 if (io->data->state != SND_PCM_STATE_PREPARED)
494 io->data->state = SND_PCM_STATE_RUNNING;
503 if (io->data->state == SND_PCM_STATE_OPEN)
509 io->data->state = SND_PCM_STATE_SETUP;
518 while (io->data->state == SND_PCM_STATE_DRAINING) {
520 if (io->data->state != SND_PCM_STATE_DRAINING)
539 switch (io->data->state) {
552 io->data->state = SND_PCM_STATE_DRAINING;
556 io->data->state = SND_PCM_STATE_DRAINING;
562 if (io->data->state == SND_PCM_STATE_DRAINING) {
573 if (!err && io->data->state != SND_PCM_STATE_SETUP)
589 if (io->data->state != states[prev])
596 io->data->state = states[enable];
758 if (io->data->state == SND_PCM_STATE_XRUN)
936 .state = snd_pcm_ioplug_state,
1099 ioplug->state = SND_PCM_STATE_OPEN;
1234 * \param state the PCM status
1241 int snd_pcm_ioplug_set_state(snd_pcm_ioplug_t *ioplug, snd_pcm_state_t state)
1243 ioplug->state = state;