[ALSA] Fix pcm-draining of capture stream in PCM middle layer
authorTakashi Iwai <tiwai@suse.de>
Wed, 17 May 2006 15:10:35 +0000 (17:10 +0200)
committerJaroslav Kysela <perex@suse.cz>
Thu, 22 Jun 2006 19:33:43 +0000 (21:33 +0200)
commit0fbf405c583e6ee6d7227eb938a096d0998f7e78
tree796958578b3bf9c9f0e1da0faa201cfd09fa5a3c
parent9b87819b61060a3d32d5982f5ee998c22ab8ca27
[ALSA] Fix pcm-draining of capture stream in PCM middle layer

Fix the draining of PCM capture stream in the PCM middle layer.
snd_pcm_drain() ignored capture streams, but it should change
the state to SNDRV_PCM_DRAINING.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/pcm_native.c