[wdmaudiodev] DTM test case "Wave Test" query

  • From: Girish <girishsadananda@xxxxxxxxxxx>
  • To: wdmaudiodev@xxxxxxxxxxxxx
  • Date: Thu, 14 Jul 2011 16:02:59 +0530 (IST)

 
Wave test "Standard Streaming\Rendering Pin Tests\Reset Pin while streaming 
data" is failing on Vista with the following reason
"FAIL: Pin has not responded to IOCTL_KS_RESET_STATE command for KSRESET_BEGIN 
correctly. Position after reset is not zero".
My observation is that our audio driver doesn't get PinReset with KSRESET_BEGIN.
Any pointers on why the testcase is failing/why KSRESET_BEGIN is not received 
would be useful.
Attaching the logs

===============================================================================================
Wave Format used for instantiation:
Format.wFormatTag = WAVE_FORMAT_EXTENSIBLE
Format.nChannels = 2
Format.nSamplesPerSec = 44100
Format.nAvgBytesPerSec = 176400
Format.nBlockAlign = 4
Format.wBitsPerSample = 16
Format.cbSize = 22
wValidBitsPerSample = 16
dwChannelMask = KSAUDIO_SPEAKER_STEREO (0x3)
SubFormat = KSDATAFORMAT_SUBTYPE_PCM{00000001-0000-0010-8000-00AA00389B71}
Successfully instantiated Render pin
The current device supports standard streaming.
Setting render pin to state KSSTATE_STOP
Wave Format used for instantiation:
Format.wFormatTag = WAVE_FORMAT_EXTENSIBLE
Format.nChannels = 2
Format.nSamplesPerSec = 44100
Format.nAvgBytesPerSec = 176400
Format.nBlockAlign = 4
Format.wBitsPerSample = 16
Format.cbSize = 22
wValidBitsPerSample = 16
dwChannelMask = KSAUDIO_SPEAKER_STEREO (0x3)
SubFormat = KSDATAFORMAT_SUBTYPE_PCM{00000001-0000-0010-8000-00AA00389B71}
CKsPin::Instantiate.  Failed to instantiate Render pin!
KsCreatePin returned = 0x00000491
 [ GetLastError() returned 1169 (0x491) - There was no match for the specified 
key in the index.   ].
The current device supports standard streaming.
This is NOT a WaveRT Pin
The current device supports standard streaming.
This is NOT a WaveRT Pin
Start Case: ID 16.26:1.5 : Standard Streaming\Rendering Pin Tests\Reset Pin 
while streaming data:[Thu Jul 14 15:31:29 2011]
Device Name = Pin # 0 on Bluetooth Stereo Audio [Render Pin]
PnP ID      = {128CFE23-5667-45db-9C1B-23370DA73831}\CsrAVMini_110B
    ======================================================
    Using Pin # 0 on Bluetooth Stereo Audio as the render pin
    Testing format:
      Format.nChannels       = 2
      Format.nSamplesPerSec  = 44100
      wValidBitsPerSample    = 16
        Creating Pin with format:
           Connect.nPinId                    = 0
           Connect.PinToHandle               = 0x00000000
           Format.FormatSize                 = 82
           WaveFormat.Format.wFormatTag      = 1
           WaveFormat.Format.nChannels       = 2
           WaveFormat.Format.nSamplesPerSec  = 44100
           WaveFormat.Format.nAvgBytesPerSec = 176400
           WaveFormat.Format.nBlockAlign     = 4
           WaveFormat.Format.wBitsPerSample  = 16
           WaveFormat.Format.cbSize          = 0
           WaveFormat.wValidBitsPerSample    = 16
           WaveFormat.dwChannelMask          = 3
    Successfully instantiated Render pin
    Submitting 352800 bytes to the pin
    Setting render pin to state KSSTATE_PAUSE
    Submitting IOCTL_KS_WRITE_STREAM IRP ...
    IRP is pending...
    Setting render pin to state KSSTATE_RUN
    Position reported before issuing KSRESET_BEGIN = 2751 bytes
    Setting render pin to state KSSTATE_RUN
    Resetting Pin state: IOCTL_KS_RESET_STATE (KSRESET_BEGIN)
    Position reported after issuing KSRESET_BEGIN = 2751 bytes
    FAIL: Pin has not responded to IOCTL_KS_RESET_STATE command for 
KSRESET_BEGIN correctly. Position after reset is not zero
    Setting render pin to state KSSTATE_STOP
    Setting render pin to state KSSTATE_STOP
===============================================================================================

Other related posts:

  • » [wdmaudiodev] DTM test case "Wave Test" query - Girish