Git Product home page Git Product logo

Comments (4)

Jahfry avatar Jahfry commented on June 11, 2024 3

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.

intel352 avatar intel352 commented on June 11, 2024

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.

jaymehta98 avatar jaymehta98 commented on June 11, 2024

Hi Jahfry, # secondary option might be useful if multiple instances can be run but that's unusual for audio output needs:
SetAudioDeviceByApplication -pid {processID}

image

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.

frgnca avatar frgnca commented on June 11, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.