[pulseaudio-tickets] [Bug 72374] volume-test.c from PA 4.0 fails on 32-bit GNU/Linux

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Dec 13 23:15:27 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=72374

--- Comment #1 from Tanu Kaskinen <tanuk at iki.fi> ---
This is reproducible on my machine too (64-bit, GCC 4.8.2). I tried v2.0, v3.0,
v4.0 and the current master, and the test fails always, so this is not any new
breakage. The test passes on my previous computer (I didn't try now, but I have
run the test set before).

volume-test does about 9 million volume conversion tests. In each test, a
pa_volume_t value is converted to a linear volume factor and a dB value, and
then the linear factor and the dB value are converted back to pa_volume_t. If
either of the resulting pa_volume_t values differ from the original, mdn is
incremented. Out of the 9 million tests, 251 are allowed to "fail", because
sometimes there's a rounding error.

On your machine 252 tests fail, and on my machines the number is 253. The
variance seems to come from hardware differences. It seems pretty safe to
increase the allowed failure limit from 251 to 253.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20131214/4c0f3462/attachment.html>


More information about the pulseaudio-bugs mailing list