SNDRV_PCM_STATE_DISCONNECTED
#define SNDRV_PCM_STATE_LAST SNDRV_PCM_STATE_DISCONNECTED
case SNDRV_PCM_STATE_DISCONNECTED:
snd_pcm_stop(substream, SNDRV_PCM_STATE_DISCONNECTED);
SNDRV_PCM_STATE_DISCONNECTED);
case SNDRV_PCM_STATE_DISCONNECTED:
case SNDRV_PCM_STATE_DISCONNECTED:
runtime->state == SNDRV_PCM_STATE_DISCONNECTED)
case SNDRV_PCM_STATE_DISCONNECTED:
runtime->state == SNDRV_PCM_STATE_DISCONNECTED)
if (substream->runtime->state == SNDRV_PCM_STATE_DISCONNECTED)
if (substream->runtime->state == SNDRV_PCM_STATE_DISCONNECTED)
runtime->state == SNDRV_PCM_STATE_DISCONNECTED)
runtime->state == SNDRV_PCM_STATE_DISCONNECTED)
runtime->state == SNDRV_PCM_STATE_DISCONNECTED)
runtime->state == SNDRV_PCM_STATE_DISCONNECTED)
if (runtime->state == SNDRV_PCM_STATE_DISCONNECTED)
if (substream->runtime->state == SNDRV_PCM_STATE_DISCONNECTED)
if (runtime->state == SNDRV_PCM_STATE_DISCONNECTED)
if (substream->runtime->state != SNDRV_PCM_STATE_DISCONNECTED)
snd_pcm_stop(substream, SNDRV_PCM_STATE_DISCONNECTED);
SNDRV_PCM_STATE_DISCONNECTED);
SNDRV_PCM_STATE_DISCONNECTED);
snd_pcm_stop(substream, SNDRV_PCM_STATE_DISCONNECTED);
status = SNDRV_PCM_STATE_DISCONNECTED;
SNDRV_PCM_STATE_DISCONNECTED);
snd_pcm_stop(ad->current_stream, SNDRV_PCM_STATE_DISCONNECTED);
#define SNDRV_PCM_STATE_LAST SNDRV_PCM_STATE_DISCONNECTED