How can I programmatically control a Windows 7 mixer?

Windows 7 provides volume controls for each application, which allow you to disconnect applications separately. How to disable and enable the application from the console application?

+4
source share
1 answer

You want to use the IAudioSessionManager2 COM interface. Take a look at the Vista Master Audio API Master Volume Control , which wraps up some of the new Core Audio APIs . The console project in it lists the active audio sessions and allows you to adjust the volume and turn off the status of the active audio session.

+2
source

Source: https://habr.com/ru/post/1315306/


All Articles