A Windows utility that monitors and maintains your default audio device settings.
- Download the latest release
- Place
StaticAudioDevices.exe
inshell:startup
or place it somewhere else and create a scheduled task for it. - Set your devices how you want them to stay before first launching
StaticAudioDevices.exe
- Run it once.
- Profit???
%appdata%/StaticAudioDevices
holds both the config.json
and also log files.
Delete config.json
and run the program again to generate it again.
Adjust Interval
in the config.json
file. In seconds.
- Windows 10/11
- Visual Studio 2022 with:
- Windows SDK (10.0+)
- C++ Desktop development workload
- C++14 compiler support
- nlohmann/json (header-only, included)
- Windows MMDevice API
- ole32.lib
- mmdevapi.lib
- Open
StaticAudioDevices.sln
in Visual Studio 2022 - Select build configuration (Debug/Release)
- Build (Ctrl+Shift+B)
- Navigate to project directory
- run
msbuild StaticAudioDevices.sln /p:Configuration=Release /p:Platform=x64
The compiled executable will be in:
x64\Release\StaticAudioDevices.exe
(Release build)x64\Debug\StaticAudioDevices.exe
(Debug build)