[wdmaudiodev] Re: WLK tests behave VERY strange

  • From: Tsai Tzung-Dar <tdtsai1973@xxxxxxxxxxxx>
  • To: "wdmaudiodev@xxxxxxxxxxxxx" <wdmaudiodev@xxxxxxxxxxxxx>
  • Date: Sat, 29 Oct 2011 06:30:08 -0700 (PDT)

Hi 
I just copy WaveTest.exe from WLK 1.6. And the WaveTest.exe File version 
6.1.7601.17125.  I had try to test MSVAD Simple. You are right it can't pass 
WLK test. I think the problem is in MSVAD sample code. Basically my driver is 
not modify form MSVAD sample code. I modify it form SB16 sample code. If you 
want to write a audio driver you should read sample code of MSVAD, SB16 and 
AC97. I think MSVAD is just a sample code to tell you how to write a audio 
driver by use MiniportWaveCyclic. It did not consider how to pass WLK test.

BR,
Tzung-Dar Tsai  


________________________________
寄件者: Eugene Muzychenko <eugene@xxxxxxxxxxxxxx>
收件者: Tsai Tzung-Dar <wdmaudiodev@xxxxxxxxxxxxx>
寄件日期: 2011/10/29 (六) 3:36 PM
主旨: [wdmaudiodev] Re: WLK tests behave VERY strange

Hello Tsai,

> The test in MiniportWaveCyclic driver is pass

MSVAD is WaveCyclic-based too but it does not pass 1.10.

Could you please explain how a classic PortCls miniport driver could ever pass
this test? In both WaveCyclic and WavePci, a driver reports only its
internal stream position, it cannot know how many WRITE_STREAM
requests are queued to PortCls. KSPROPERTY_AUDIO_POSITION and
KSPROPERTY_AUDIO_POSITIONEX requests are processed only by PortCls.

I investigated how wavetest works in 1.10 case. It queues a
WRITE_STREAM request, starts the stream, waits a lot, queues another
WRITE_STREAM of the same size, waits a lot, cancels the second request
then expects stream position to reach *doubled* size (a sum of both
WRITE_STREAM requests). How a miniport driver can affect position
requests that PortCls handles without intercepting them?

> End Case: ID 16.26:1.10 : PASS : Standard Streaming\Rendering Pin
> Tests\Streaming buffer from different threads : [Sun Oct 23 00:21:44 2011]

What version of wavetest do you use? My wavetest from WLK 1.6.8367 has 
FileVersion 6.1.7601.17125.

Did you try to test MSVAD Simple with this wavetest?

Regards,
Eugene

******************

WDMAUDIODEV addresses:
Post message: mailto:wdmaudiodev@xxxxxxxxxxxxx
Subscribe:    mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=subscribe
Unsubscribe:  mailto:wdmaudiodev-request@xxxxxxxxxxxxx?subject=unsubscribe
Moderator:    mailto:wdmaudiodev-moderators@xxxxxxxxxxxxx

URL to WDMAUDIODEV page:
http://www.wdmaudiodev.com/

Other related posts: