Guest YogiJ Posted November 14, 2019 Posted November 14, 2019 Hey lovely peoples brains here is what I'm trying to achieve. New user logs into a PC they have never touched before, the sound volume by default is to be 20%. If they then plug headphones into the front jack it too is set by default to 20%. What is my issue? well in the build process I run a script to set the default sound volume during the build https://stackoverflow.com/questions/21355891/change-audio-level-from-powershell is the example of the script. This works successfully but it only applies to the active Jack at the time. Which means the default speakers are set to 20% but I plug in my headphones and the sound bumps to 80%. just using basic windows drivers for the sound and there is only one device detected but it has auto front jack detection. I've tried to disable this maybe make two sound device one for the front jack and one internal but the regkey fix normally for this created a second device but a non working one and both jacks were still only attached to the one device. So I have two thoughts either there is a way via software to switch the active jack so I can run my script, switch active run it again and switch back. Or alternatively find a way to link the two so its affectively one profile and if you move it to 50% and then plug in headphones it stays at 50%. Any suggestions? More... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.