volume: Decrease PA_VOLUME_MAX to be < 2^31
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Sat, 9 Oct 2010 17:59:51 +0000 (23:29 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Thu, 14 Oct 2010 19:40:00 +0000 (01:10 +0530)
commit179b291b18b9a7366955948ce0ddfb2e65a6b66e
tree5a5ed3dfd3ab8a8903968019b09fbfac0637fc51
parent3265424f271f15f334a299cc10086c0b9be34979
volume: Decrease PA_VOLUME_MAX to be < 2^31

This decrease PA_VOLUME_MAX to be less than 2^31. We want to do this in
order to simplify signed arithmetic when applying software volume
scaling (since the volume can now always be safely treated as a signed
number).
src/pulse/volume.h