p-rivero / DiscordAudioStream

Windows utility for streaming (with audio!) in Discord. Easily share the the audio of entire screen, or even use OBS for streaming!
GNU General Public License v3.0
187 stars 7 forks source link

7.1 Surround Sound Audio Devices don't work. #38

Closed kobiek225 closed 10 months ago

kobiek225 commented 11 months ago

This tool only works with Stereo devices from what I've found through my testing. I have a 7.1 surround headset which only works with this app if I change it to a Stereo headset in the Windows Sound Control Panel. I mean, it's not the end of the world but would love to see it work with surround sound devices too! Appreciate the app nonetheless.

kobiek225 commented 11 months ago

Just want to clarify that my headset still works when this app is in use BUT as far the application itself; it shows that audio is being detected with the audio meter but it does not output anything because of the 7.1 surround (assumingly). As soon as I switch it to Stereo in the Sound Control Panel and restart the app, it starts outputting audio like normal and works perfect.

p-rivero commented 11 months ago

I tried to solve this in the latest pre-release, but I cannot verify if it worked as I don't have a 7.1 headset. Please let me know if it's fixed. If it isn't, enable debug logging and send me the generated log so I can try to find the issue.

kobiek225 commented 11 months ago

Yes, the pre-release fixed it. No longer have to switch to Stereo. Great work! Thanks for the quick update. Really appreciate it. I'll close out the issue now.

p-rivero commented 11 months ago

Great to hear that!

kobiek225 commented 11 months ago

I have no idea how but it is not working again anymore. I even redownloaded the pre-release. Deleted the original files and even the files in Users/ME/AppData/DiscordAudioStream. But, back to the same issue of the audio not playing back to viewers of my stream. Checked using my phone and yeah no audio unless I switch to Stereo with my headset. Here's the log file. DiscordAudioStream_log.txt

p-rivero commented 11 months ago

That's odd, by looking at the log file it seems like your device should support 7.1 sound. I limited the audio channels to 2 in this pre-release, check if it works now. However, keep in mind that all the extra surround channels will be lost and only the left and right channels will be streamed. If it works, we can try to increase the number of channels until we find the limit.

p-rivero commented 10 months ago

Closing this issue as stale