Audio Codec-KS Position test failing - Win10

Tommy Yang 1 Reputation point

I am testing a virtual audio driver based on sysvad vitrual audio device source code. and test fail in WDMAudio::KsPosTest::TAEF_Render_WritePacket#RenderDefaultStereoFormat#0
Could anyone give me any suggestion? Thanks in advance

[Detail Logs]
Message 3/22/2022 10:58:30.701 AM Data[Channels]: 2
WexTraceInfo ThreadId=14604 ProcessId=1748 TimeStamp=6278005691 LogSessionId=1 SessionTraceCount=1615
WexContext TAEF

Message 3/22/2022 10:58:30.701 AM Data[Id]: VIVERRAUDIO Wave Speaker#0
WexTraceInfo ThreadId=14604 ProcessId=1748 TimeStamp=6278006695 LogSessionId=1 SessionTraceCount=1616
WexContext TAEF

Message 3/22/2022 10:58:30.701 AM Data[Index]: 0
WexTraceInfo ThreadId=14604 ProcessId=1748 TimeStamp=6278008024 LogSessionId=1 SessionTraceCount=1617
WexContext TAEF

Message 3/22/2022 10:58:30.701 AM Data[Name]: Render Pin # 0 on VIVERRAUDIO Wave Speaker
WexTraceInfo ThreadId=14604 ProcessId=1748 TimeStamp=6278009337 LogSessionId=1 SessionTraceCount=1618
WexContext TAEF

Message 3/22/2022 10:58:30.701 AM Data[Required]: false
WexTraceInfo ThreadId=14604 ProcessId=1748 TimeStamp=6278010493 LogSessionId=1 SessionTraceCount=1619
WexContext TAEF

Message 3/22/2022 10:58:30.701 AM Data[SampleRate]: 48000
WexTraceInfo ThreadId=14604 ProcessId=1748 TimeStamp=6278011788 LogSessionId=1 SessionTraceCount=1620
WexContext TAEF

Message 3/22/2022 10:58:30.701 AM Data[SampleSize]: 16
WexTraceInfo ThreadId=14604 ProcessId=1748 TimeStamp=6278012722 LogSessionId=1 SessionTraceCount=1621
WexContext TAEF

Message 3/22/2022 10:58:30.701 AM Data[Type]: Render
WexTraceInfo ThreadId=14604 ProcessId=1748 TimeStamp=6278013592 LogSessionId=1 SessionTraceCount=1622
WexContext TAEF

Message 3/22/2022 10:58:30.702 AM WexTraceInfo ThreadId=14604 ProcessId=1748 TimeStamp=6278014439 LogSessionId=1 SessionTraceCount=1623
WexContext TAEF

Message 3/22/2022 10:58:30.690 AM This pin does support KSPROPERTY_AUDIOSIGNALPROCESSING_MODES
WexTraceInfo ThreadId=16320 ProcessId=1748 TimeStamp=6278024013 LogSessionId=1 SessionTraceCount=1624

Message 3/22/2022 10:58:30.690 AM Wave Format used for instantiation:
WexTraceInfo ThreadId=16320 ProcessId=1748 TimeStamp=6278028397 LogSessionId=1 SessionTraceCount=1625

Message 3/22/2022 10:58:30.691 AM wFormatTag = WAVE_FORMAT_PCM
nChannels = 2
nSamplesPerSec = 48000
nAvgBytesPerSec = 192000
nBlockAlign = 4
wBitsPerSample = 16
cbSize = 0
WexTraceInfo ThreadId=16320 ProcessId=1748 TimeStamp=6278029246 LogSessionId=1 SessionTraceCount=1626

Message 3/22/2022 10:58:30.691 AM Successfully instantiated KSPIN_DATAFLOW_IN pin
WexTraceInfo ThreadId=16320 ProcessId=1748 TimeStamp=6278036084 LogSessionId=1 SessionTraceCount=1627

Message 3/22/2022 10:58:30.693 AM KSPIN_DATAFLOW_IN pin is currently in state KSSTATE_STOP; want it to be in state KSSTATE_PAUSE
WexTraceInfo ThreadId=16320 ProcessId=1748 TimeStamp=6278055327 LogSessionId=1 SessionTraceCount=1628

Message 3/22/2022 10:58:30.693 AM Setting KSPIN_DATAFLOW_IN pin to state KSSTATE_ACQUIRE
WexTraceInfo ThreadId=16320 ProcessId=1748 TimeStamp=6278056509 LogSessionId=1 SessionTraceCount=1629

Message 3/22/2022 10:58:30.694 AM Setting KSPIN_DATAFLOW_IN pin to state KSSTATE_PAUSE
WexTraceInfo ThreadId=16320 ProcessId=1748 TimeStamp=6278059602 LogSessionId=1 SessionTraceCount=1630

Error 3/22/2022 10:58:30.694 AM Win32BoolFailed(pPin->SetPropertySimple(KSPROPSETID_RtAudio, KSPROPERTY_RTAUDIO_SETWRITEPACKET, &wpi, sizeof(wpi))) - Value (1)
WexTraceInfo ThreadId=16320 ProcessId=1748 TimeStamp=6278063177 LogSessionId=1 SessionTraceCount=1631
WexContext Verify
File: avcore\audiocore\test\wdmaudio\portcls\kspostst\pintest.cpp Line: 2334
Error Type:
Error Code: 0x0
Error Text: Error 0x00000000

Windows Hardware Performance
Windows Hardware Performance
Windows: A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.Hardware Performance: Delivering / providing hardware or hardware systems or adjusting / adapting hardware or hardware systems.
1,557 questions
0 comments No comments
{count} votes