Преглед на файлове

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 години
родител
ревизия
8d00bf67e6
променени са 2 файла, в които са добавени 1 реда и са изтрити 5 реда
  1. 0 4
      resources/settings/settings_description.json
  2. 1 1
      src/settings/AudioSettingsController.cpp

+ 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);