OSDN Git Service

Remove ugly hack in rate plugin poll_descriptors callback
authorStas Sergeev <stsp@aknet.ru>
Mon, 12 Nov 2007 11:01:16 +0000 (12:01 +0100)
committerTakashi Iwai <tiwai@suse.de>
Mon, 12 Nov 2007 11:01:16 +0000 (12:01 +0100)
commitc13b8dc98698427336ddcefc47b8058f4a1b845a
tree19f203a13e342296c784f40b8dd5512c825209a9
parent7b51f627326569c38e85af224de21be36cb6562b
Remove ugly hack in rate plugin poll_descriptors callback

The rate plugin has ugly hacks in poll_descriptors callback to adjust
avail_min when partial read/write occurs.  This causes often unexpected
problems like XRUNs, especially with two-period cases.

Let's remove that beast, it's rather harmful than useful.

Signed-off-by: Stas Sergeev <stsp@aknet.ru>
src/pcm/pcm_rate.c