Seamlessly switch audio devices while playing Balatro. Change your Windows audio output (speakers to headphones, etc.) without restarting the game.
- Instant Audio Device Switching: When you change your Windows default audio device, the game audio automatically switches when you alt-tab back
- No Audio Interruption: Music continues playing on the new device
- Zero Configuration: Just install and play
- Lovely Injector (mod loader for Balatro)
- Windows (uses OpenAL32.dll)
If you haven't already, install Lovely:
- Download
lovely-x86_64-pc-windows-msvc.zipfrom releases - Extract
version.dllto your Balatro game folder (same folder asBalatro.exe)
- Navigate to
%AppData%/Balatro/Mods/(createModsfolder if it doesn't exist) - Copy the
BalatroAudioHotSwitchfolder there
The mod requires OpenAL Soft 1.22.0+ (Balatro ships with 1.19.1 which lacks the required extension).
- Copy the included
OpenAL32.dllto your Balatro game folder - Replace the existing
OpenAL32.dll(backup original if desired)
Alternatively, download from OpenAL Soft Releases (use bin/Win64/soft_oal.dll, rename to OpenAL32.dll)
Install OpenAL Soft 1.22.0+ from your package manager:
# Debian/Ubuntu
sudo apt install libopenal1
# Arch
sudo pacman -S openal
# Fedora
sudo dnf install openal-softCheck version with: pacmd list-modules | grep openal or verify the extension is available.
Install via Homebrew:
brew install openal-softYou may need to symlink or set DYLD_LIBRARY_PATH to use the Homebrew version instead of the system OpenAL.
Balatro/ (Steam game folder)
├── Balatro.exe
├── version.dll (Lovely injector)
├── OpenAL32.dll (Updated 1.22.0+)
└── ...
%AppData%/Balatro/Mods/
└── BalatroAudioHotSwitch/
└── lovely.toml
- Start Balatro normally
- Change your Windows audio output device (Settings > Sound > Output)
- Alt-tab back to the game
- Audio instantly plays through the new device
The mod adds:
- A
love.focus()handler that triggers when you alt-tab back to the game - FFI code that calls OpenAL Soft's
alcReopenDeviceSOFTfunction to seamlessly switch audio output
This uses the ALC_SOFT_reopen_device extension available in OpenAL Soft 1.22.0+, which can move audio output to a different device while preserving all audio state.
Lovely Injector opens a debug console by default. To disable it:
- Right-click Balatro in Steam → Properties
- Add to Launch Options:
--disable-console
- Ensure you replaced
OpenAL32.dllin the game folder with version 1.22.0+ - Verify the mod is installed in
%AppData%/Balatro/Mods/BalatroAudioHotSwitch/ - Check that Lovely's
version.dllis in the game folder
- Verify
OpenAL32.dllis the 64-bit version - Try restoring the original DLL to confirm it's a DLL issue
- Restore the original
OpenAL32.dll - Check Windows audio settings
- Game Version: Tested with Balatro 1.0.1+
- Platform: Windows, Linux, macOS (requires OpenAL Soft 1.22.0+) - tested on Windows only
- Other Mods: Compatible with Steamodded and most Lovely-based mods
- OpenAL Soft for the
ALC_SOFT_reopen_deviceextension - Lovely Injector for the mod loader
MIT License. Balatro is property of LocalThunk.