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

Discord Audio Stream exe not allowing me to select speakers that are used in VoiceMeeter for more advanced control #29

Closed Ramlethal-Dori closed 11 months ago

Ramlethal-Dori commented 1 year ago

I recently got the DiscordAudioStream.exe and it won't allow me to use a speaker I choose that is already used in VoiceMeeter. This is mostly for when I am playing a game in discord and I am swapping over to a browser and want the audio to switch to just the browser audio and just need to tinker with the voicemeeter output channels. Hopefully you can fix this as it's really frustrating and tedious to restart the window just to swap audio sources for the voicemeeter channels instead just the speaker I muted on purpose. Screenshot 2023-08-27 075705

p-rivero commented 1 year ago

This error message means that VoiceMeeter has set its output to exclusive mode, which makes it impossible for DiscordAudioStream to capture it. This is an OS-level feature, and DiscordAudioStream cannot override it.

I'm not very familiar with VoiceMeeter, but based on this post from its forum it seems like you should be able to change the output mode in the VoiceMeeter settings:
image

However, there may be an easier solution. I think VoiceMeeter creates virtual microphones from which you can output your audio. See "OUT B1" and "OUT B2" in this diagram from the same post:
VoicemeeterBananaConnectionDiagram

DiscordAudioStream can also use microphones as input. You need to open DiscordAudioStream settings -> Debug and enable "Show audio input devices". After doing this, the audio devices dropdown will also show microphones (labeled [IN]). Configure the microphone in VoiceMeeter, and then capture it in DiscordAudioStream.

Warning: Remember that DiscordAudioStream outputs all the audio it hears. If VoiceMeeter is also outputting the same audio, you may hear echo. Make sure your headphones are only listening to either VoiceMeeter or DiscordAudioStream, but not both.

p-rivero commented 11 months ago

Since I haven't heard back, I assume the answer solved your issue.