[pulseaudio-discuss] [PATCH] Alsa-plugins: Pulse: Fix snd_pcm_avail returning 0 in some cases

Colin Guthrie gmane at colin.guthr.ie
Thu Apr 28 02:48:44 PDT 2011


'Twas brillig, and David Henningsson at 21/04/11 14:22 did gyre and gimble:
> 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.
> 
> This was discovered by Maarten Lankhorst [1], and there is also a test
> program available that triggers this error [2].
> 
> [1]
> https://tango.0pointer.de/pipermail/pulseaudio-discuss/2011-April/009935.html
> 
> 
> [2]
> https://tango.0pointer.de/pipermail/pulseaudio-discuss/attachments/20110420/3c852d6e/attachment.c

For completeness (on this list), this patch has now been committed to
alsa-lib.

Cheers

Col

-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]




More information about the pulseaudio-discuss mailing list