Ensure the default preamp gain is 0.0, not 1.0.

This commit is contained in:
casey langen 2018-01-15 12:18:51 -08:00
parent 8d27927860
commit a698bf90a8

View File

@ -172,7 +172,7 @@ static class Environment : public IEnvironment {
virtual float GetPreampGain() override {
if (::playbackPrefs) {
return (float) ::playbackPrefs->GetDouble(
prefs::keys::PreampDecibels.c_str(), 1.0f);
prefs::keys::PreampDecibels.c_str(), 0.0f);
}
return 1.0f;
}