aboutsummaryrefslogtreecommitdiffstats
path: root/src/player.c
diff options
context:
space:
mode:
authorAndreas Claesson <andreas.claesson@gmail.com>2005-05-26 06:09:55 +0000
committerAndreas Claesson <andreas.claesson@gmail.com>2005-05-26 06:09:55 +0000
commit2695e82bfa1b214251e33b49d55584b3e96eedfb (patch)
treefa571698a075f10c45c191cadeb89ed7e60c8c6c /src/player.c
parentaf30dfbe847477360a1c86418a6f5a63aabdc8e4 (diff)
downloadmpd-2695e82bfa1b214251e33b49d55584b3e96eedfb.tar.gz
mpd-2695e82bfa1b214251e33b49d55584b3e96eedfb.tar.xz
mpd-2695e82bfa1b214251e33b49d55584b3e96eedfb.zip
Optimizes to volume changing code...
git-svn-id: https://svn.musicpd.org/mpd/branches/ancl@3289 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 e398323e8..d0d9a2764 100644
--- a/src/player.c
+++ b/src/player.c
@@ -417,7 +417,7 @@ void setPlayerCrossFade(float crossFadeInSeconds) {
void setPlayerSoftwareVolume(int volume) {
PlayerControl * pc;
- volume = (volume>1000) ? 1000 : (volume<0 ? 0 : volume);
+ volume = (volume>1024) ? 1024 : (volume<0 ? 0 : volume);
pc = &(getPlayerData()->playerControl);