[wdmaudiodev] Need help in FAIL: Failed WriteData(Render)/ReadData(Capture) to see if pin position is moving or not

  • From: Gaurav Khuntale <gauravkhuntale@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Fri, 24 Jan 2014 11:47:13 +0530

Hello,

I am working on a virtual audio driver which is based on WaveCyclic
miniport driver. During Wave Test my driver failing in following test case,

"Standard Streaming\Rendering Pin Tests\Reset Pin while streaming data".

Log file shows following message,

Successfully instantiated KSPIN_DATAFLOW_IN pin
    Submitting 16000 bytes to the pin
    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
    Submitting IOCTL_KS_WRITE_STREAM IRP ...
    IRP is pending...
    KSPIN_DATAFLOW_IN pin is currently in state KSSTATE_PAUSE; want it to
be in state KSSTATE_RUN
    Setting KSPIN_DATAFLOW_IN pin to state KSSTATE_RUN
    Position reported before issuing KSRESET_BEGIN = 121 bytes
    KSPIN_DATAFLOW_IN pin is currently in state KSSTATE_RUN; want it to be
in state KSSTATE_RUN
    Resetting Pin state: IOCTL_KS_RESET_STATE (KSRESET_BEGIN)
    Position reported after issuing KSRESET_BEGIN = 0 bytes
    Submitting IOCTL_KS_WRITE_STREAM IRP ...
    GetLastError did not return ERROR_IO_PENDING even though the pin is
paused

     [ GetLastError() returned 21 (0x15) - The device is not ready.   ].
    FAIL: Failed WriteData(Render)/ReadData(Capture) to see if pin position
is moving or not.

Can anyone please help me in finding where exactly i can check in my driver
for above failure ?

Thanks.

Other related posts: