aboutsummaryrefslogtreecommitdiffstats
path: root/src/player.c
diff options
context:
space:
mode:
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);