[wdmaudiodev] Re: Help in General Audio Test

  • From: Matthew van Eerde <Matthew.van.Eerde@xxxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Mon, 28 Apr 2014 16:26:36 +0000

Very likely a test bug, then.

From: wdmaudiodev-bounce@xxxxxxxxxxxxx 
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx] On Behalf Of Gaurav Khuntale
Sent: Monday, April 28, 2014 9:13 AM
To: wdmaudiodev@xxxxxxxxxxxxx
Subject: [wdmaudiodev] Re: Help in General Audio Test


Hi Matthew,

Yes..MSVAD is also failing in same test case.

Thanks.
On Apr 28, 2014 9:31 PM, "Matthew van Eerde" 
<Matthew.van.Eerde@xxxxxxxxxxxxx<mailto:Matthew.van.Eerde@xxxxxxxxxxxxx>> wrote:
Could be. Does it repro on the MSVad WaveCyclic driver?

From: wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx> 
[mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx<mailto:wdmaudiodev-bounce@xxxxxxxxxxxxx>]
 On Behalf Of Gaurav Khuntale
Sent: Monday, April 28, 2014 12:38 AM
To: wdmaudiodev@xxxxxxxxxxxxx<mailto:wdmaudiodev@xxxxxxxxxxxxx>
Subject: [wdmaudiodev] Help in General Audio Test

Hello,
I am working on a virtual audio driver.This driver is based on wavecyclic port 
driver. I am trying to pass General audio test for the same driver but i am 
getting failure in test case which i mentioned below,

IOCTL\KS defined\IOCTL_KS_WRITE_STREAM\Cancel IO

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
As per my understanding,this test is trying to write data even if pin is in 
pause state and expecting return value ERROR_IO_PENDING. Here i am not able to 
understand that how we can take care in miniport driver about handling of 
IOCTL_KS_WRITE_STREAM as this request is completely handle by port driver.
I observed that, our driver do get calls to 
IMiniportWaveCyclicStream::GetPosition and IDmaChannel::CopyTo function when 
test put a pin into pause state.

I am not sure but is this a bug in test only? Please help me.
Thanks.

Other related posts: