Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

When/how is an application added to the Windows 7 Volume Mixer window?

I'm trying to get an application which ran okay on XP to run properly on Windows 7 (this is not something I wrote - I'm helping a friend.)

It was able to play audio on XP but cannot on Windows 7 - nothing is heard. Have exhausted a search and check of all settings in Windows 7 as regards audio (have spent many hours searching and reading.)

There is no entry in the Windows 7 Volume Mixer for the application at any time while it is running.

By playing with some other applications I've found that it seems that an application is not added to the Mixer until it actually creates a sound but I've found at least one program which is added to the Mixer right when the program starts and before it has played any sounds.

Is there an API which allows an application to "register" itself with the Windows 7 Volume Mixer so that an entry for it appears in the Mixer even though it has not yet produced any sounds?

like image 652
StanWalker Avatar asked Jan 23 '11 03:01

StanWalker


People also ask

How do I add Apps to my volume mixer?

Right-click [Speakers icon] on the taskbar⑤, and then select [Open volume mixer]⑥. In the Apps filed, by dragging the slider to adjust volume for each app⑦.

Where is volume mixer in Windows 7?

Step 1: Locate and right click on the volume control icon in your Windows system tray (the collection of icons to the right side of the taskbar). Step 2: Select Open Volume Mixer from the list that appears. From the window that appears you can adjust the volumes of any application currently open on your computer.

How do you use a volume mixer?

Getting to use Volume Mixer.Right-click [Speakers icon] on the taskbar⑤, and then select [Open Volume mixer]⑥. In Volume Mixer, by dragging the slider to adjust volume for each app⑦. If the speaker icon of the app is , it means the app is at mute mode. Click the speaker icon again to turn the volume on.


1 Answers

According to this blog post, the audio subsystem keeps track of PIDs that play audio and the volume mixer is able to access this list. It is possible to change the name displayed in SndVol with IAudioSessionControl, so maybe that alone is enough for it to be "registered"

like image 166
Anders Avatar answered Nov 05 '22 13:11

Anders