From f177433d41e3434b9530129283544d5b66cf85a4 Mon Sep 17 00:00:00 2001 From: Steveice10 <1269164+Steveice10@users.noreply.github.com> Date: Thu, 21 Dec 2023 02:34:22 -0800 Subject: [PATCH] cfg: Set sound mode to stereo by default. (#7268) --- .../citra/citra_emu/features/settings/ui/SettingsActivity.kt | 2 +- .../citra_emu/features/settings/ui/SettingsFragmentPresenter.kt | 2 +- src/core/hle/service/cfg/cfg_defaults.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/SettingsActivity.kt b/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/SettingsActivity.kt index 796f577b1e..18b708131b 100644 --- a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/SettingsActivity.kt +++ b/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/SettingsActivity.kt @@ -224,7 +224,7 @@ class SettingsActivity : AppCompatActivity(), SettingsActivityView { setUsername("CITRA") setBirthday(3, 25) setSystemLanguage(1) - setSoundOutputMode(2) + setSoundOutputMode(1) setCountryCode(49) setPlayCoins(42) } diff --git a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/SettingsFragmentPresenter.kt b/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/SettingsFragmentPresenter.kt index 534aee6268..fd6eda28c8 100644 --- a/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/SettingsFragmentPresenter.kt +++ b/src/android/app/src/main/java/org/citra/citra_emu/features/settings/ui/SettingsFragmentPresenter.kt @@ -874,7 +874,7 @@ class SettingsFragmentPresenter(private val fragmentView: SettingsFragmentView) override val section = null override val isRuntimeEditable = false override val valueAsString = int.toString() - override val defaultValue = 2 + override val defaultValue = 1 } add( SingleChoiceSetting( diff --git a/src/core/hle/service/cfg/cfg_defaults.cpp b/src/core/hle/service/cfg/cfg_defaults.cpp index 3ecd85e07b..c744ac1f19 100644 --- a/src/core/hle/service/cfg/cfg_defaults.cpp +++ b/src/core/hle/service/cfg/cfg_defaults.cpp @@ -33,7 +33,7 @@ constexpr std::array DEFAULT_STEREO_CAMERA_SETTINGS = { 10.0f, 5.0f, 55.58000183105469f, 21.56999969482422f, }; constexpr New3dsBacklightControls DEFAULT_NEW_3DS_BACKLIGHT_CONTROLS{{0, 0, 0, 0}, 0, {0, 0, 0}}; -constexpr u8 DEFAULT_SOUND_OUTPUT_MODE = SOUND_SURROUND; +constexpr u8 DEFAULT_SOUND_OUTPUT_MODE = SOUND_STEREO; // NOTE: These two are placeholders. They are randomly generated elsewhere, rather than using fixed // constants. constexpr u64_le DEFAULT_CONSOLE_ID = 0;