[wdmaudiodev] Processing volume/mute query requests with Channel = -1

  • From: Eugene Muzychenko <eugene@xxxxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Thu, 19 Jul 2012 22:07:57 +0700

Hello!

Testing my driver with KS Studio, I noticed when KS Studio
instantiates my topology filter, it sends KSPROPERTY_AUDIO_MUTE and
KSPROPERTY_AUDIO_VOLUMELEVEL with KSPROPERTY_TYPE_GET flag and Channel
equal to -1. My driver processes only "set" requests with such channel
value, as suggested in MSDN for KSNODEPROPERTY_AUDIO_CHANNEL so it
return error for these requests. KS Studio interprets this driver
behavior as incorrect, displaying error message in orange.

I searched MSDN and MS site for explanation but found no
informative description. Looked onto AC97 driver example and found
the CHAN_MASTER definition equal to -1 but could not understand clearly
how it is used. Looked onto MSVAD, it defines this macro too but never
uses it and does not check Channel value in its propery handlers.

How to process these requests? Is there an informative description in
MS documents?

Regards,
Eugene

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

Other related posts: