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