[wdmaudiodev] Win7 Dynamic Format Changes - Streaming Minidriver

  • From: Neetu Sand <neetu.freelist@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Thu, 10 Sep 2009 19:47:07 +0530

Hi,

I am trying to implement code so that our driver can report new format
capabilities under Win 7 using  "Dynamic format changes". Our audio driver
has been written using "Streaming minidriver" model. So I am using
KSEVENT_PINCAPS_FORMATCHANGE event to implement this. In order to do this I
do the following in audio minidriver:

- Added KSEVENT_TABLE with a KSEVENT_ITEM entry for
KSEVENT_PINCAPS_FORMATCHANGE.
- Added KSEVENT_SET_TABLE with a KSEVENT_SET entry for
KSEVENTSETID_PinCapsChange.
- Added event details in structure- HW_STREAM_INFORMATION.
- Implemented StrMiniEvent.
- Provided "HwEventRoutine" in Open Stream call.

I am not receiving any event callbacks from class driver so I am wondering
if I am doing something wrong here. Any help is appreciated.

Thanks, Neetu.

Other related posts: