Comments (4)
Stopping by to say this is what I was looking for when I stumbled on this DLL as well.
In my case I want to be able to start an application (games) and force them onto a different device controlled by VoiceMeeter so that I can record only that application in OBS Studio. Currently the games I want to record will always set back to the "Default" device on restart as they don't have discrete output selection menus.
My cases are similar but different to intel352's comment as my game setting is never remembered by Windows (others are, so I don't mean ALL games). However I've also seen some cases where I have his issue as well (device is remembered by Windows but has to be toggled away and then back before audio is heard).
What I'd want is something like this:
# (not saying these are the best syntax, just pseudo definitions to help explain the need):
# primary option ... set by the process EXE:
SetAudioDeviceByApplication -exe {ProcessName}
# secondary option might be useful if multiple instances can be run but that's unusual for audio output needs:
SetAudioDeviceByApplication -pid {processID}
For my uses I'd set up a startup script that execs the application, waits a bit, then issues the command since the settings aren't saved for the game I'm using from session to session.
from audiodevicecmdlets.
I also need this ability. I have my general audio go to whatever device/channel I've designated as default, but then for videogame audio, I send to the Game device/channel. This setting is remembered by Windows when I restart the app, but it's not re-applied. Meaning, the "App volume and device preferences" GUI will show the Game channel as assigned, but I can't hear audio on that channel until I switch it away and back to Game.
Having a script for this until M$ finally (if ever) rectifies the issue would be lovely.
from audiodevicecmdlets.
Hi Jahfry, # secondary option might be useful if multiple instances can be run but that's unusual for audio output needs:
SetAudioDeviceByApplication -pid {processID}
How do I get PID for 2 Webex App volume when both are Realtek? Cannot identify PID for which Webex and how do i control audio both?
from audiodevicecmdlets.
I do intend to add mixer support (volume control per app) as much as I can. I will refer further discussion to issue #18.
from audiodevicecmdlets.
Related Issues (20)
- Get-AudioDevice -List error when no enabled mic or playback device. HOT 3
- Get-AudioDevice -Playback output is wrong sometimes in scripts HOT 1
- Add support for ErrorAction argument HOT 1
- Get-AudioDevice -PlaybackCommunication HOT 4
- How to check Mute-State of non-default-device HOT 1
- Change status of non-default audio device HOT 1
- [Feature-Request] Include disabled/disconnected devices in Get-AudioDevice -List
- Feature Request - Disable Audio Device like it is possible in mmsys.cpl
- [Feature Request] Control over Communication's "Reduce The Volume" feature.
- [Feature Request] Set Endpoint Friendly Name.
- [Feature Request] Get and Set sampling rate and bit depth
- Write-AudioDevice should be able to adjust -[Timespan]SampleInterval and return floats HOT 3
- Write-AudioDevice should support -Multichannel
- Write-AudioDevice internal cleanup
- Write-AudioDevice should not use parameter sets
- "Get-AudioDevice -List" throws 0x80070490 Exception HOT 1
- Get-AudioDevice -PlaybackVolume returns a string not a float
- Feature Request: - Set Audio Device Format
- Feature Request: get/set balance
- Windows 11 22631.3085 stopped working HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audiodevicecmdlets.