[wdmaudiodev] KS Position Test: Failures on 'Standard Streaming\Rendering Performance Tests\Duration & Length'

  • From: "Robert S. Giaraffa" <Robert.Giaraffa@xxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Thu, 14 Apr 2016 16:16:42 +0000

Our CP2114 device is UAC1 compliant and uses the in-box drivers.  With this 
device configured for Async mode, running the KS Position Test suite results in 
failures of the 'Standard Streaming\Rendering Performance Tests\Duration & 
Length' test, due to the driver streaming less bytes than expected.  This 
failure is evidently covered by a filter since the overall KS Position test 
passes with filters enabled.  Could this failure be caused by our device 
firmware, or is it entirely due to the in-box drivers?  (See test log below.)

Thanks,
Bob Giaraffa

Start Case: ID 16.26:1.2 : Standard Streaming\Rendering Performance 
Tests\Duration & Length (standard streaming):[Fri Mar 18 16:50:13 2016]
Device Name = Pin # 0 on CP2114_20 [Render Pin]
PnP ID      = USB\VID_10C4&PID_EAB0&MI_00\6&37767890&0&0000
    ======================================================
    Using Pin # 0 on CP2114_20 as the render pin
    Using QueryPerformanceCounter as the timing mechanism
    Testing format:
      Format.nChannels       = 2
      Format.nSamplesPerSec  = 48000
      wValidBitsPerSample    = 16
    Failed to query for basic support KSPROPERTY_AUDIOSIGNALPROCESSING_MODES: 
Last error:1170
    Wave Format used for instantiation:
    wFormatTag = WAVE_FORMAT_PCM
    nChannels = 2
    nSamplesPerSec = 48000
    nAvgBytesPerSec = 192000
    nBlockAlign = 4
    wBitsPerSample = 16
    cbSize = 0

    Successfully instantiated KSPIN_DATAFLOW_IN 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
    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
    FAIL: Driver streamed 383972 bytes instead of 384000.
    Length:
       Measured: 383972 bytes
       Expected: 384000 bytes
       Error:    -28 bytes
       Time reading before starting of wait preiod: 174.467 ms
       Time reading at the end of wait preiod: 2176.962 ms
    Duration:
       Measured: 2002.495 ms
       Expected: 2000.000 ms
       Error:    2.495 ms (0.125 %)
    PASS: The duration error for this format is no more than 3.000 %, and is 
therefore acceptable
    KSPIN_DATAFLOW_IN pin is currently in state KSSTATE_RUN; want it to be in 
state KSSTATE_STOP
    Setting KSPIN_DATAFLOW_IN pin to state KSSTATE_PAUSE
    Setting KSPIN_DATAFLOW_IN pin to state KSSTATE_ACQUIRE
    Setting KSPIN_DATAFLOW_IN pin to state KSSTATE_STOP
    KSPIN_DATAFLOW_IN pin is currently in state KSSTATE_STOP; want it to be in 
state KSSTATE_STOP
End Case: ID 16.26:1.2 : FAIL : Standard Streaming\Rendering Performance 
Tests\Duration & Length (standard streaming) : [Fri Mar 18 16:50:21 2016]


Other related posts:

  • » [wdmaudiodev] KS Position Test: Failures on 'Standard Streaming\Rendering Performance Tests\Duration & Length' - Robert S. Giaraffa