Ryujinx
Ryujinx copied to clipboard
Ryujinx does not respect audio output setting
Bug Report
What's the issue you encountered?
Ryujinx only outputs audio to speakers despite changing the output device in Windows settings. Doesn't seem to matter if you change the system output or just the app output.
How can the issue be reproduced?
- Have 2 audio devices plugged in, like speakers and a TV connected by HDMI
- Switch audio outputs either at the tray icon or in Windows 10 audio settings (System > Audio > App volume and device preferences)
- Audio will still be heard from speakers when you start any game
Log file
N/A
Environment?
- Ryujinx version: 1.0.7101
- System Specs:
- OS: Windows 10
- CPU: Ryzen 5 3600
- GPU: NVIDIA RTX 2060 Super
- RAM: 16gb
Additional context?
Additional info about your environment:
Which audio backend are you using on Ryujinx?
OpenAL.
Ryujinx will grab a session with whichever audio output device was the default when you opened the emulator, if you change audio outputs, and then restart the emulator, does it use the "correct" audio output device?
Did some testing and it only changed when I started it with a backend other than OpenAL.
This issue appears to still exist. I have it in the latest v1.1.739. What's going on? One would have thought this is now fixed after 18 months. Thanks.
Only one person reported this issue so far (well, 2 now counting with you), so it doesn't seems to be something that affects everyone. And it's still unclear if this is something that only happens with OpenAL audio backend or all of them.
Only one person reported this issue so far (well, 2 now counting with you), so it doesn't seems to be something that affects everyone. And it's still unclear if this is something that only happens with OpenAL audio backend or all of them.
I changed audio backend from dummy to openAL in settings and now the sound is restored. Phew. Thanks.
I changed audio backend from dummy to openAL in settings and now the sound is restored. Phew. Thanks.
Thanks for this advice. I was experiencing a similar bug except that I had NO sound output regardless of which audio backend I selected. I ensured the correct audio device was selected in Windows 11 audio settings (both the global setting and the per-app setting) yet regardless of which audio backend I selected (and fully restarting the emulator each time), I was getting NO sound output. Finally, after reading your comment, I stopped emulation, selected the "Dummy" audio backend, clicked "Apply" and then "Save", reopened the Settings, selected "OpenAL", clicked "Apply" and then "Save", and finally, after restarting emulation, I had audio. There is clearly some type of bug happening with the audio here. Although, it definitely wouldn't surprise me if the bug was Windows related rather than the emulator (though hopefully the issue can be discovered and worked around regardless as I haven't seen this type of behavior with other emulators/applications).
Seems to be an issue if you activate vsync via Tab after emulation has started.