WIP replaygain support
This commit is contained in:
@@ -121,6 +121,7 @@ LMS.mediaplayer = function () {
|
||||
}
|
||||
|
||||
var _setReplayGain = function (replayGain) {
|
||||
console.log("Applying gain " + replayGain);
|
||||
_gainNode.gain.value = Math.pow(10, (_settings.replayGain.preAmpGain + replayGain) / 20);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user