[wdmaudiodev] Re: Win7 Dynamic Format Changes - Streaming Minidriver

  • From: Tim Roberts <timr@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Thu, 10 Sep 2009 10:33:04 -0700

Neetu Sand wrote:
>  
> 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.

Perhaps I'm missing the point here, but isn't this an event that your
audio driver GENERATES when it needs to change the format?  You would
only LISTEN for this event if you were farther downstream in the graph.

-- 
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.

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

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: