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

  • From: Karthik Gurumurthy <karthik.gurumurthy@xxxxxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Thu, 10 Sep 2009 21:58:19 +0530

look at this post in the list, this might help.
//www.freelists.org/post/wdmaudiodev/Changing-device-format

karthik SG

On Thu, Sep 10, 2009 at 7:47 PM, Neetu Sand <neetu.freelist@xxxxxxxxx>wrote:

> 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: