ALSA: pcm - Simplify snd_pcm_drain() implementation
authorTakashi Iwai <tiwai@suse.de>
Thu, 17 Sep 2009 16:46:26 +0000 (18:46 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 21 Sep 2009 13:13:09 +0000 (15:13 +0200)
Simplify snd_pcm_drain() implementation and avoid unneeded array-
allocation for waitqueues.  Instead, one waitqueue is used for the
first draining stream, and wait until all streams finished.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

No differences found