frgnca / AudioDeviceCmdlets

AudioDeviceCmdlets is a suite of PowerShell Cmdlets to control audio devices on Windows
MIT License
737 stars 92 forks source link

Feature Request: - Set Audio Device Format #74

Open Bappy1988 opened 1 year ago

Bappy1988 commented 1 year ago

This is really niche... Long story short, I have a monitor that only supports 44.1KHz audio mode over HDMI, which is passed through a Razer RipSaw capture device which only supports 48KHz.

So.. If I want the audio to come out of my speakers clearly, I have to set the source to 44.1KHz. If I want to capture my video game audio, I have to change it to 48KHz.

So I have to toggle between the 2 quite frequently.

I'd really like to have a powershell script/shortcut on the desktop that I can use to quickly toggle between 44.1 and 48 KHz. This library looks like the most logical place to expose that functionality.

S4ERyn commented 2 days ago

I have a game which only supports a lower frequency and I have been looking for a way to do it when launching the app, and returning it to normal once closed. I really appreciate this work!

https://sl.bing.net/f2fkVdhgcIC <-- CoPilot suggestion is to communicate directly with the API.