[ALSA] Clean up ugly hacks in pcm_lib.c
authorTakashi Iwai <tiwai@suse.de>
Fri, 28 Apr 2006 13:13:40 +0000 (15:13 +0200)
committerJaroslav Kysela <perex@suse.cz>
Thu, 22 Jun 2006 19:33:06 +0000 (21:33 +0200)
commit2f4ca8e5c7cf6a6f7935483d8ee4aa8b039bdd7d
treebe79b48cd1d562a17379f0b602034ecacd358446
parente88e8ae639a4908b903d9406c54e99a729b01a28
[ALSA] Clean up ugly hacks in pcm_lib.c

Clean up ugly hacks for sync with alsa-lib code in pcm_lib.c.
Also, optimize snd_pcm_hw_params_choose() with a loop.

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