core: svolume tests should generate realistic random volume data
authorPeter Meerwald <p.meerwald@bct-electronic.com>
Thu, 12 Jan 2012 16:20:05 +0000 (17:20 +0100)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Fri, 10 Feb 2012 11:51:31 +0000 (17:21 +0530)
commitd103f3a97a151682a1c4c1257e32d4affb4c162e
treeaf51def5671d9aa01ec5013729ea6aa9fca9af11
parentee3e93c84106c61c33d15476a8847619f358a372
core: svolume tests should generate realistic random volume data

assuming RAND_MAX is around 1<<31, rand() >> 1 generates large numbers as
random volume data; these likely causes saturated sample values after
applying the volume function -- not a good test
src/pulsecore/svolume_arm.c
src/pulsecore/svolume_mmx.c
src/pulsecore/svolume_orc.c
src/pulsecore/svolume_sse.c