dolphin/Source/Core/UICommon
Dentomologist 6b2a8eff15 AudioPane: Fix WASAPI default device combo selection
Set the default value of `Config::MAIN_WASAPI_DEVICE` to `default`
instead of `Default`. This fixes an issue where `AudioPane`'s `Output
Device` combo would be blank if `WASAPI` was selected and the user had
never changed the value of `Output Device`.

We don't have to worry about backward compatibility with users who have
`Default` in their config because config values aren't written unless
they've been changed at some point from the default, and the combo has
always saved `default` instead of `Default`.

Audio still worked during emulation in this situation because the
fallback for an unrecognized device name is the default device.

To help prevent similar situations in the future references to
`MAIN_WASAPI_DEVICE`'s default value now call `GetDefaultValue` instead
of hardcoding the expected default, or use the new helper function
`Config::IsDefaultValue`.
2026-03-21 15:07:42 -07:00
..
ResourcePack ResourcePack: Fix loading resource packs 2026-02-02 20:01:58 +01:00
AutoUpdate.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
AutoUpdate.h Updater: Add/clarify error messages 2022-10-31 23:36:07 -07:00
CMakeLists.txt Use minizip-ng's CMakeLists instead of relying on our own implementation 2025-11-27 00:18:31 +01:00
CommandLineParse.cpp Treat --debugger command line as a temporary setting 2023-04-17 23:11:26 -07:00
CommandLineParse.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
DBusUtils.cpp linux: Use D-Bus to inhibit screensaver 2024-09-27 21:22:57 +01:00
DBusUtils.h linux: Use D-Bus to inhibit screensaver 2024-09-27 21:22:57 +01:00
DiscordPresence.cpp AudioPane: Fix WASAPI default device combo selection 2026-03-21 15:07:42 -07:00
DiscordPresence.h UICommon: Include implicit header 2025-05-02 02:03:41 +03:00
GameFile.cpp Added Triforce support 2026-02-15 20:14:14 -06:00
GameFile.h Added Triforce support 2026-02-15 20:14:14 -06:00
GameFileCache.cpp Added Triforce support 2026-02-15 20:14:14 -06:00
GameFileCache.h Common/FileSearch: Refactor DoFileSearch 2026-01-24 16:50:10 +01:00
NetPlayIndex.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
NetPlayIndex.h Fix all uninitialized variable warnings (C26495) 2021-10-13 12:32:16 -07:00
UICommon.cpp Added Triforce support 2026-02-15 20:14:14 -06:00
UICommon.h Core: Add a HookableEvent for UICommon::FlushUnsavedData. 2026-01-19 21:56:09 -06:00
X11Utils.cpp Remove unused imports 2026-01-25 16:12:15 +01:00
X11Utils.h linux: Use D-Bus to inhibit screensaver 2024-09-27 21:22:57 +01:00