Why does Sunshine always change the system audio format to 24 bit, 48000 Hz? #682
-
Select Topic AreaQuestion BodyI use the Steam Streaming Speakers as my audio sink for Sunshine, and lately Sunshine has been changing the audio format of the device to 24 bit, 48000 Hz every time streaming starts. This has been causing ear piercingly loud, staticy audio out of my system that I have to go into the audio control panel and set back every time. If this was a change made in Sunshine's code, please revert it because it is wildly annoying. Otherwise, it would be really nice to have a solution implemented. Seems like #276 could be a potential one. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 5 replies
-
Probably started after LizardByte/Sunshine#3294 @andygrundman any thoughts on this? |
Beta Was this translation helpful? Give feedback.
-
Can you describe your setup a bit more? Do you have existing audio playing in another format and then Sunshine changes it while it's still playing? What is the previous format? What is your default audio device? Is it a motherboard audio device? If so, do you have any running audio tools from e.g. Realtek? If you're streaming in stereo, one workaround is to not check the box "Mute host PC speakers while streaming" in Moonlight. This will cause Sunshine to not make any changes. I agree that a way to set the bit depth/samplerate might help, unfortunately I have never had this problem and don't know how to reproduce it. |
Beta Was this translation helpful? Give feedback.
-
Does the problem go away if you set your main audio device to 24-bit so that it matches the Steam speakers instead of doing it the other way around? I'm wondering if the "Listen to this device" feature doesn't do any resampling when trying to mix 2 sources using different settings. You mentioned it also adds latency, this is really the best reason you should try Voicemeeter, I'm pretty sure it doesn't add any latency. This guide they have might be one of the most intimidating things I've ever seen though, but it's free so it's worth a try. There's also a ton of guides on Youtube. https://voicemeeter.com/setup-voicemeeter-for-skype-zoom-or-discord/ I do think we should add a simple option for limiting Steam speakers to 16-bit. It will always use 48khz because that is the samplerate used by Opus. |
Beta Was this translation helpful? Give feedback.
-
I've submitted a PR that will keep the Steam device at 16-bit when the default audio device is using 16-bit. LizardByte/Sunshine#3704 |
Beta Was this translation helpful? Give feedback.
I've submitted a PR that will keep the Steam device at 16-bit when the default audio device is using 16-bit. LizardByte/Sunshine#3704