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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user