]> git.alsa-project.org Git - alsa-plugins.git/commit
Pulse: Fix snd_pcm_avail returning 0 in some cases
authorDavid Henningsson <david.henningsson@canonical.com>
Thu, 21 Apr 2011 13:10:19 +0000 (15:10 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 26 Apr 2011 14:37:46 +0000 (16:37 +0200)
commite1661e3daa22cfed67c4b74099bcd97b433af24b
tree0c2e7695575764cf2833a1591a1d818fac68c190
parent40c129a160f37fe9488b2828d6299f99c269703e
Pulse: Fix snd_pcm_avail returning 0 in some cases

Due to a round-off error, snd_pcm_avail could in some cases
return 0 even though more data could be written to the stream.

Reported-by: Maarten Lankhorst <m.b.lankhorst@gmail.com>
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
pulse/pcm_pulse.c