[wdmaudiodev] Re: AVStream and WDF

  • From: KS <wakeup1504@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Sat, 24 Oct 2009 19:36:55 +0800

Hi,

While this is possible and would work, I think it would be something that
would be considered as one of the last resort if there is no other way and
the change must be made. This is something like asking Microsoft to split
their usbaudio.sys driver, which is an AVStream driver, into 2 drivers so
that it is WDF compilant and fulfill WLP requirement.

I would hope that there should be some method that is less painful for those
who have an existing AVStream driver that communicate with a usb device. (Or
that the WLP requirement does not apply to usb drivers that are using
AVStream framework)


KS


On Sat, Oct 24, 2009 at 7:17 PM, Sam Tertzakian <saekisam@xxxxxxxxx> wrote:

> You would write two drivers...a lower wdf driver that talks directly to the
> hardware as a generic wdf driver. Then you install an upper filter driver
> over the wdf driver that exposes the device as an avstream driver. Avstream
> driver then sends and receives data from the lower driver.
> ------------------------------
> *From: *KS <wakeup1504@xxxxxxxxx>
> *Date: *Sat, 24 Oct 2009 18:50:00 +0800
> *To: *<wdmaudiodev@xxxxxxxxxxxxx>
> *Subject: *[wdmaudiodev] AVStream and WDF
>
> Hi,
>
> Is it possible to write an AVStream driver using WDF? I posted this
> questions a few years back and the answer was no.
>
> There were some code snippets on using AVStream with WDF in the Winhec 2008
> presentation, and there is also some new WLP requirements for USB drivers to
> be WDF compilant. So does this mean that it is now possible to use AVStream
> with WDF (since many usb audio/video device would be using AVStream driver)?
> If this is true, is there any info on what is the minimum KMDF version that
> can support this, and any info on what can and what cannot be done with WDF
> for AVStream would be appreciated.
>
> Thanks
>
> KS
>

Other related posts: