CC-4821: Add option to disable ReplayGain
- done
This commit is contained in:
parent
4bf9ab60d9
commit
048ee05030
6 changed files with 51 additions and 22 deletions
|
@ -1253,6 +1253,14 @@ class Application_Model_Preference
|
|||
return ($data != "") ? unserialize($data) : null;
|
||||
}
|
||||
|
||||
public static function SetEnableReplayGain($value) {
|
||||
self::setValue("enable_replay_gain", $value, false);
|
||||
}
|
||||
|
||||
public static function GetEnableReplayGain() {
|
||||
return self::getValue("enable_replay_gain", false);
|
||||
}
|
||||
|
||||
public static function getReplayGainModifier(){
|
||||
$rg_modifier = self::getValue("replay_gain_modifier");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue