Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Questions about volume
#1
Hi all! I have two questions related with volume. Sorry if any of them have been answered before:
- When I set software volume at 100% is equal to have the volume control disabled reaching bit perfect output?
- Is it possible in any way to change the default +1 or -1 when pressing the volume up and down buttons for any desired value?

Many thanks!!
Reply
#2
Software or Hardware volume set to 100% is equal to volume set to "Disabled (0dB).

You would have to modify the 2 event handlers below in file /var/www/js/scripts-panels.js. Change + 1 and - 1 to different values. Note that any changes would be lost after a moOde update or new release.

Code:
    $('#volumeup,#volumeup-2,#ssvolup').click(function(e) {
        var curVol = parseInt(SESSION.json['volknob']);
        var newVol = curVol < 100 ? curVol + 1 : 100;
        setVolume(newVol, '');
    });
    $('#volumedn,#volumedn-2,#ssvoldn').click(function(e) {
        var curVol = parseInt(SESSION.json['volknob']);
        var newVol = curVol > 0 ? curVol - 1 : 0;
        setVolume(newVol, '');
    });
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
Very helpful. Like always, thank you so much for your support Tim. Best wishes!
Reply


Forum Jump: