Lines Matching defs:state
43 snd_pcm_state_t state;
86 status->state = null->state;
97 return null->state;
114 null->state = SND_PCM_STATE_PREPARED;
130 assert(null->state == SND_PCM_STATE_PREPARED);
131 null->state = SND_PCM_STATE_RUNNING;
142 assert(null->state != SND_PCM_STATE_OPEN);
143 null->state = SND_PCM_STATE_SETUP;
150 assert(null->state != SND_PCM_STATE_OPEN);
151 null->state = SND_PCM_STATE_SETUP;
159 if (null->state != SND_PCM_STATE_RUNNING)
161 null->state = SND_PCM_STATE_PAUSED;
163 if (null->state != SND_PCM_STATE_PAUSED)
165 null->state = SND_PCM_STATE_RUNNING;
173 switch (null->state) {
188 switch (null->state) {
297 .state = snd_pcm_null_state,
355 null->state = SND_PCM_STATE_OPEN;