commit | d3a7dcfeeb6856215412065bd0f774de83f43414 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Thu Sep 17 18:46:26 2009 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Mon Sep 21 15:13:09 2009 +0200 |
tree | a36a83bd636afda8ac5048717461fc302459abad | |
parent | 87bfa1dbfb22aab2bb6c1085c1fe7d56cdd2f044 [diff] |
ALSA: pcm - Simplify snd_pcm_drain() implementation 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>