volume: Clamp volume to PA_VOLUME_MAX
authorArun Raghavan <arun.raghavan@collabora.co.uk>
Sat, 9 Oct 2010 10:08:43 +0000 (15:38 +0530)
committerArun Raghavan <arun.raghavan@collabora.co.uk>
Thu, 14 Oct 2010 19:40:00 +0000 (01:10 +0530)
commit49101fc540aec9a249e97a9f650be38f9f92f5ac
tree6b2049a66cb3f4c43adcb424468ff2deb852df84
parent1d2ef7923d28a74e08a4309b6fa3d36481d2df3b
volume: Clamp volume to PA_VOLUME_MAX

This ensures that we always clamp the volume to PA_VOLUME_MAX. While
this currently has no effect, it will be required for making sure we
don't exceed PA_VOLUME_MAX when its value changes in the future.
src/modules/module-lirc.c
src/modules/module-match.c
src/modules/module-mmkbd-evdev.c
src/modules/module-waveout.c
src/modules/oss/oss-util.c
src/pulse/volume.c
src/pulse/volume.h