adjust scaling of software volume

git-svn-id: https://svn.musicpd.org/mpd/trunk@681 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes
2004-04-11 11:48:04 +00:00
parent 823a7900bd
commit 44756f5f10
5 changed files with 18 additions and 19 deletions

View File

@@ -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);