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

  • From: Stephen Pinto <stephen.pinto04@xxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Fri, 28 Mar 2014 21:09:08 +0530

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:
Device Name = XXXXX
PnP ID      = ROOT\MEDIA\0000
    Property SET is not supported
    Property GET is not supported
        Property SET is supported
        DeviceIoControl returned 0xEA
        Error : More data is available.

        required bytes for getting dataformat is 82
        dwDataLength = 82
        required bytes for getting dataformat is 82
        DeviceIoControl Passed when expecting DeviceIoControl to Fail.
            ERROR:Failure information:
                  Context: pin=0 node=-1 device=-1
                  DeviceIoControl: returned 0x00000000 during property set
request
                  Type: unexpected result
        Property GET is supported
End Case: ID 16.200:300.1.3 : FAIL : KS
properties\KSPROPSETID_Connection\KSPROPERTY_CONNECTION_DATAFORMAT\Invalid
no. of channels

---------------------------------------------------------AND-------------------------------------------------------------------

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

------------------------------------------------------------------------

Please help me in solving these failures.
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.
I am not getting the reason for any of the above failures which would help
me solve these...so please help !!!

Other related posts: