aboutsummaryrefslogtreecommitdiffstats
path: root/src/player.c
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-04-11 11:48:04 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-04-11 11:48:04 +0000
commit44756f5f10717c77b14cd7e3bdade349f0969be7 (patch)
tree2b55d790d8fc934d2b2a6951bbabe744da1537d9 /src/player.c
parent823a7900bd5c6a14857928102fbad8ec83f97568 (diff)
downloadmpd-44756f5f10717c77b14cd7e3bdade349f0969be7.tar.gz
mpd-44756f5f10717c77b14cd7e3bdade349f0969be7.tar.xz
mpd-44756f5f10717c77b14cd7e3bdade349f0969be7.zip
adjust scaling of software volume
git-svn-id: https://svn.musicpd.org/mpd/trunk@681 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/player.c')
-rw-r--r--src/player.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/player.c b/src/player.c
index 63ee4f062..0659b212c 100644
--- a/src/player.c
+++ b/src/player.c
@@ -422,7 +422,7 @@ void setPlayerCrossFade(float crossFadeInSeconds) {
void setPlayerSoftwareVolume(int volume) {
PlayerControl * pc;
- volume = (volume>100) ? 100 : (volume<0 ? 0 : volume);
+ volume = (volume>1000) ? 1000 : (volume<0 ? 0 : volume);
pc = &(getPlayerData()->playerControl);