Control: tags -1 + patch Here goes a patch to fix the FTBFS on Alpha. It protects the floating point addition of volumes in dB from adding any infinities. An assumption is made that negative infinity is the only possible non-finite number since dB are calculated via a logarithm from volumes and volumes are necessarily non-negative.
Cheers Michael.
Index: pulseaudio-6.0/src/tests/volume-test.c =================================================================== --- pulseaudio-6.0.orig/src/tests/volume-test.c +++ pulseaudio-6.0/src/tests/volume-test.c @@ -114,7 +114,10 @@ START_TEST (volume_test) { double q, qq; p = pa_sw_volume_multiply(v, w); - qq = db + db2; + if (isfinite(db) && isfinite(db2)) + qq = db + db2; + else + qq = -INFINITY; p2 = pa_sw_volume_from_dB(qq); q = l*t; p1 = pa_sw_volume_from_linear(q);