Kaynağa Gözat

Always show "Advanced" section in audio settings

It was confusing, and users liked audio passthrough more than we hoped
(also multichannel PCM worked worse than we hoped).
Vincent Lang 8 yıl önce
ebeveyn
işleme
8d00bf67e6

+ 0 - 4
resources/settings/settings_description.json

@@ -158,10 +158,6 @@
         "value": "normalize",
         "default": true
       },
-      {
-        "value": "advanced",
-        "default": false
-      },
       {
         "value": "exclusive",
         "default": false,

+ 1 - 1
src/settings/AudioSettingsController.cpp

@@ -28,7 +28,7 @@ void AudioSettingsController::valuesUpdated(const QVariantMap& values)
   SettingsSection* audioSection = SettingsComponent::Get().getSection(SETTINGS_SECTION_AUDIO);
   auto prevDescriptions = audioSection->descriptions();
 
-  bool advanced = SettingsComponent::Get().value(SETTINGS_SECTION_AUDIO, "advanced").toBool();
+  bool advanced = true;
   QString type = SettingsComponent::Get().value(SETTINGS_SECTION_AUDIO, "devicetype").toString();
 
   audioSection->setValueHidden("channels", false);