[wdmaudiodev] Re: Need some help with passing the General Audio Test

  • From: Stephen Pinto <stephen.pinto04@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Mon, 31 Mar 2014 19:35:37 +0530

Hello Tim,

About the second failure, you said we must allow the data to be written to
the driver even in the pause state. But we are not stopping the OS from
writing the data in the DMA buffer in this state. Also we are updating the
position even when in pause state in the same way as in the MSVAD sample
driver. So do you mean the same thing or did I get you wrong.


On Fri, Mar 28, 2014 at 10:26 PM, Tim Roberts <timr@xxxxxxxxx> wrote:

> Stephen Pinto wrote:
> > Hello,
> >
> >        I am currently working on an audio driver which is based on
> > wave cyclic port driver. This driver is virtual audio driver. I am
> > having issues with passing the General Audio Test from the HCK tests.
> > Following are the two failures I am facing :
> >
> > -------------------------------------------------------------------------
> >
> > Start Case: ID 16.200:300.1.3 : KS
> >
> properties\KSPROPSETID_Connection\KSPROPERTY_CONNECTION_DATAFORMAT\Invalid
> > no. of channels:
> ...
> > In case of the first failure I am not providing any support for
> > KSPROPERTY_CONNECTION_DATAFORMAT property. Still I am not getting the
> > reason for this failure.
>
> The port class driver responds to this property on your behalf, based on
> the information you provide.  In this case, the test is trying to
> establish a connection with an invalid number of channels, and you
> approved the request.  Are you actually validating the format in
> IMiniPort::DataRangeIntersection and IMiniportWaveCyclic::NewStream, or
> are you just approving everything?
>
>
>
> > Start Case: ID 16.200:800.1.1 : IOCTL\KS
> > defined\IOCTL_KS_WRITE_STREAM\Cancel IO
> > Device Name = XXXXXXX
> > PnP ID      = ROOT\MEDIA\0000
> >         Testing pin 0:
> >         KSPIN_DATAFLOW_IN pin is currently in state KSSTATE_STOP; want
> > it to be in state KSSTATE_PAUSE
> >         Setting KSPIN_DATAFLOW_IN pin to state KSSTATE_ACQUIRE
> >         Setting KSPIN_DATAFLOW_IN pin to state KSSTATE_PAUSE
> >         ERROR: Overlapped Event was NOT signaled within 30 seconds
> > after DeviceIoControl call.
> >         ERROR: attempt to prime data returned 258 instead of
> > ERROR_IO_PENDING
> > End Case: ID 16.200:800.1.1 : FAIL : IOCTL\KS
> > defined\IOCTL_KS_WRITE_STREAM\Cancel IO
>
> An audio driver is supposed to allow data to be written to it even while
> it is in the PAUSE state.  This error says that you are not doing that.
>
> --
> 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: