Skip to content
Commit d3a7dcfe authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarTakashi Iwai <tiwai@suse.de>
parent 87bfa1db
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment