GeekyEggo / SoundDeck

Sound Deck is a powerful audio-focused plugin for the Elgato Stream Deck.
GNU General Public License v3.0
45 stars 5 forks source link

Set app audio device not switching over to other audio device #81

Closed kekev2001 closed 2 years ago

kekev2001 commented 2 years ago

if i setup the Proces by name to like discord.exe it is not switching over to other playback device

GeekyEggo commented 2 years ago

Are you trying to control the notification audio, or the voice chat audio? As Discord controls the voice chat audio within the application it won't be possible to change that using the action. If you wish to change the notification output this can be achieved by setting the process name to "discord" or "discord.exe", and then the desired device.

Alternatively, you can specify "Default" as the output device in Discord, and use the "Set Default Audio Device" to change the default system wide output communication device.

kekev2001 commented 2 years ago

i want to set the output of discord voicechat sounds and also the notify sounds on a other audio device

GeekyEggo commented 2 years ago

Change Discord Notification Device.

  1. Create a "Set App Audio Device" action.
  2. Set "Process" to be "By Name", and enter the name "Discord.exe".
  3. Set the desired audio device.

Change Discord Voice Chat Device.

  1. In Discord, go to Settings > Voice & Video, and set "Output Device" to "Default".
  2. In Stream Deck, create a "Set Default Audio Device".
  3. Set the desired audio device.
  4. Set "Role" to be "Communication".
kekev2001 commented 2 years ago

Schermafbeelding 2022-04-16 202435 Schermafbeelding 2022-04-16 202542

when i press this button the audio ouput device stays here

GeekyEggo commented 2 years ago

In Discord, output should be “Default”.

kekev2001 commented 2 years ago

i did this noting changed

GeekyEggo commented 2 years ago

Did you use the “Set Default Audio Device”? The “Set App Audio Device” won’t work for changing voice chat.

kekev2001 commented 2 years ago

no i need to use the Set app audio device i only want discord on channel 8 and internet browser

GeekyEggo commented 2 years ago

Try with the “Set Default Audio Device” and role as “Communication”; other applications should remain unaffected.

kekev2001 commented 2 years ago

but it will only do discord?

GeekyEggo commented 2 years ago

There’s one way to find out, try it. 😄

kekev2001 commented 2 years ago

Try with the “Set Default Audio Device” and role as “Communication”; other applications should remain unaffected.

i did this also notings happend or changed

GeekyEggo commented 2 years ago

@kekev2001, I've done some testing and managed to get this working, here's what you'll need to do...

Discord

image

Sound Deck

image

This will then change the system's default communication device, which will change Discord's voice chat output.

image

kekev2001 commented 2 years ago

i just did this only also this dont worked

GeekyEggo commented 2 years ago

@kekev2001 could you record a short video showing your Discord voice settings and the Stream Deck action you’re trying with.

kekev2001 commented 2 years ago

https://we.tl/t-mGK2VAUulF this is the video

GeekyEggo commented 2 years ago

@kekev2001 you're using the wrong action type; to change Discord voice chat you will need to use "Set Default Audio Device", do not use "Set App Audio Device".

Please note; this won't change anything in Discord, but instead will change your system's communication device, which Discord will use because it is set to "Default".

GeekyEggo commented 2 years ago

@kekev2001 did you manage to get this working?

kekev2001 commented 1 year ago

@kekev2001 did you manage to get this working?

not yet is there a other way to get this working

GeekyEggo commented 1 year ago

It isn't possible to control the Discord audio (defined in Discord) via the API, AFAIK. Following the instructions listed above, i.e. using the "Set Default Audio Device" (and not Set App Audio Device) will work.

kekev2001 commented 1 year ago

i also tried that notings works do you have discord so that i can show you it