How to implement per-application volume control like Vista?

Hi,

I am trying to using MSVAD(simple) as start point to implement per-application volume control, my expection is when audio application adjust volume, volume hander of MSVAD can get called, KSPROPERTY_TYPE_SET notify the volume level to the user mode application for control. But I found when I adjust MIDI volume it happened, for Speaker and Wave, I can only see the KSPROPERTY_TYPE_GET. I suspect if the upper drivers in stack, eg. sysaudio,kmix or portcls filter or scatter SET request so that MSVAD can not see that.

Do I need to write kernel mode driver to access pre-mix data in kmix and use hook to monitor the audio APIs called in individual audio applications, such as PlaySound, waveOut and DirectSound and so on…

Can anyone give me some clues on how to implement such feature? Am I on the wrong way to the success ?

Thanks!

Christoper
2007-03-17

Hi,

Nobody interested in such topic ? or no one knows the solution for per-application volume control.
I can see a 3-part shareware has implemented this, IndieVolume. So I think from technique point of
view, it should be achieved.

Christoper
2007-03-18

Try asking at http:/www.wdmaudiodev.com/ they are more likely to answer


Don Burn (MVP, Windows DDK)
Windows 2k/XP/2k3 Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
Remove StopSpam to reply

wrote in message news:xxxxx@ntdev…
> Hi,
>
> Nobody interested in such topic ? or no one knows the solution for
> per-application volume control.
> I can see a 3-part shareware has implemented this, IndieVolume. So I
> think from technique point of
> view, it should be achieved.
>
> Christoper
> 2007-03-18
>