hanson_csu
驱动牛犊
驱动牛犊
  • 注册日期2008-01-22
  • 最后登录2009-10-16
  • 粉丝0
  • 关注0
  • 积分571分
  • 威望59点
  • 贡献值0点
  • 好评度57点
  • 原创分0分
  • 专家分0分
阅读:1869回复:3

CE6下Audio驱动CETK Case:playback mixing and Capture mixing问题

楼主#
更多 发布于:2008-02-14 23:07

在PXA270,WinCE6下开发的Audio驱动WAVEDEV2,进行CETK测试, 发现有两个Case Failed:
playback mixing --6000
Capture mixing -- 6001

Playback Mixing -- Case 6000

Verifies playback of a series of overlapping tones for all common formats by launching a series of sound threads. It also supports an interactive command line option, which allows the user to monitor the test and fail it, if the sound quality is unacceptable.

Capture Mixing -- Case 6001

Verifies capture mixing by first initiating capture and then invoking PlaybackMixing to launch a series of sound threads. It also supports an interactive command line option, which allows the user to monitor the test and fail it, if the sound quality is unacceptable.


下面是Playback Mixing 的测试结果:
*** ==================================================================


BEGIN GROUP: FSDTEST.DLL
   <TESTCASE ID=6000>
   ***
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
   *** TEST STARTING
   ***
   *** Test Name:      Playback Mixing
   *** Test ID:        6000
   *** Library Path:   \wavetest.dll
   *** Command Line:   -t 3
   *** Kernel Mode:    No
   *** Random Seed:    23858
   *** Thread Count:   0
   ***
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
   BEGIN TEST: "Playback Mixing", Threads=0, Seed=23858
      INSTRUCTIONS:  This test case will attempt to playback a
series                 of overlapping tones for all common Formats
      INSTRUCTIONS:  Please listen to playback to ensure that a
tone                 is played properly.
      Attempting to play a file from the Windows Directory with the
sndPlaySound API
      Attempting to use sndPlaySound to play asterisk.wav.
      Attempting to playback WAVE_FORMAT_1M08
      Attempting to playback WAVE_FORMAT_1M16
      PlaybackMixingThread: Thread # 1 finished.
      ERROR:    In C:\yzqa\private\test\Multimedia\Audio\wave\functional
\wavetest\.\test_wavetest.cpp @ line 5470.
        Thread 2 is still running.
      ERROR:    In C:\yzqa\private\test\Multimedia\Audio\wave\functional
\wavetest\.\test_wavetest.cpp @ line 5470.
        Thread 3 is still running.
      FAIL in C:\yzqa\private\test\Multimedia\Audio\wave\functional
\wavetest\.\test_wavetest.cpp @ line 5512:
                PlaybackMixingThread: One or more sound threads timed
out                            before completing.
      FAIL in C:\yzqa\private\test\Multimedia\Audio\wave\functional
\wavetest\.\test_wavetest.cpp @ line 5311:
        LaunchMultipleAudioPlaybackThreads failed.
   END TEST: "Playback Mixing", FAILED, Time=4.228
   ***
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   *** TEST COMPLETED
   ***
   *** Test Name:      Playback Mixing
   *** Test ID:        6000
   *** Library Path:   \wavetest.dll
   *** Command Line:   -t 3
   *** Kernel Mode:    No
   *** Result:         Failed
   *** Random Seed:    23858
   *** Thread Count:   1
   *** Execution Time: 0:00:04.228
   ***
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


   </TESTCASE RESULT="FAILED">
---------------------------------------------------------------------------&shy;------------------------------


不知道大伙开发CE6时,遇到过类似的问题没?

PocketPC Junkies 论坛上有人说是微软的Bug

想听听大伙的看法!
http://hanson.cnblogs.com/
hanson_csu
驱动牛犊
驱动牛犊
  • 注册日期2008-01-22
  • 最后登录2009-10-16
  • 粉丝0
  • 关注0
  • 积分571分
  • 威望59点
  • 贡献值0点
  • 好评度57点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2008-02-15 21:27
CETK 6000, 默认开启的Thread数目为13个, 测试Failed。
今天,试着减少Thread的数目,逐渐减少,直到3个Thread时,测试successful。
我觉得这个Case与平台的负荷有很大的关系,而且,创建一个Thread后,必须Sleep一段时间,再创建下一个Thread,在这个过程中,就有可能发生Thread的调度,从而导致下一个Thread的创建超时了,而评判这个Case的依据就是在指定时间内所有的Thread都必须跑完,否则强制关闭,并且Case Failed。 因此,这个Test Case设计上还是存在问题的。
http://hanson.cnblogs.com/
microsun
论坛版主
论坛版主
  • 注册日期2002-11-11
  • 最后登录2014-07-18
  • 粉丝0
  • 关注0
  • 积分1052分
  • 威望1159点
  • 贡献值0点
  • 好评度848点
  • 原创分0分
  • 专家分0分
板凳#
发布于:2008-02-20 20:37
这个之前也遇到过,应该是CETK设计的有问题.
学海无涯
hanson_csu
驱动牛犊
驱动牛犊
  • 注册日期2008-01-22
  • 最后登录2009-10-16
  • 粉丝0
  • 关注0
  • 积分571分
  • 威望59点
  • 贡献值0点
  • 好评度57点
  • 原创分0分
  • 专家分0分
地板#
发布于:2008-02-20 21:53
谢谢 microsun

现在姑且放下这个Bug, 呵呵
http://hanson.cnblogs.com/
游客

返回顶部