Audio Switching
#111
-
|
Is there any usable projects to switch audio devices automaticly for only one software which is streaming,while others are not be infused? |
Beta Was this translation helpful? Give feedback.
Answered by
Ayaki683
Nov 17, 2024
Replies: 1 comment 7 replies
-
|
There's no to my knowledge, as the device in use is determined by the app that is playing audio itself. |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So,this is my solution.
1.Run
Install-Module -Name AudioDeviceCmdlets -Scope CurrentUserin powershell.Pre-set the app's audio toSteam Streming SpeakersinSetting>Volume>Volume Mixer. UncheckKeep virtual sink as defaultandAuto capture current sinkin Apollo,uncheckPlay host soundin Moonlight2.Use
Get-AudioDevice -Listto View the audio devices on the system,note the index of your Default Speaker. Not Steam Streming Speakers.3.Add
powershell -WindowStyle Hidden Start-Sleep -Milliseconds 10000; Set-AudioDevice -Index 4(For example) intoApplications>Detached Commands. The Milliseconds depends on the time your streaming launched,the number after-Indexis what you noted.4.Enjoy.