刘品
学以致用---博主简介:专注语音、视频数字信号处理方面的研究以及算法在手机平台上面的移植和优化。涉及语音/音频编解码,语音增强,语音识别,语音音质客观评估,VOIP语音引擎 Qos算法模块和声音变速不变调和变调不变速等功能实现。熟悉ARM 各个系列的CPU,用ARMv4,ARMv5,ARMv6 and Cortex Neon 汇编优化相关算法代码,争取perforamance 最优。目前主要Windows mobile and Android platform上做相关speech/audio算法以及应用开发, HEVC 编解码器PC 和手机上的开发与应用。(交流Email:liupin.2008@gmail.com)

please read the MediaPlayerTest.java file.

    // The following tests are all a bit flaky, which is why they're retried a    

    // few times in a loop.

    // This test uses one mp3 that is silent but has a strong positive DC offset,    

   // and a second mp3 that is also silent but has a strong negative DC offset.    

   // If the two are played back overlapped, they will cancel each other out,    

   // and result in zeroes being detected. If there is a gap in playback, that    

   // will also result in zeroes being detected.    

  // Note that this test does NOT guarantee that the correct data is played    

    public void testGapless1() throws Exception {        

         flakyTestWrapper(R.raw.monodcpos, R.raw.monodcneg);    

   }

    // This test is similar, but uses two identical m4a files that have some noise    

   // with a strong positive DC offset. This is used to detect if there is    

   // a gap in playback    

   // Note that this test does NOT guarantee that the correct data is played    

    public void testGapless2() throws Exception {        

   flakyTestWrapper(R.raw.stereonoisedcpos, R.raw.stereonoisedcpos);    

   }

    // same as above, but with a mono file    

   public void testGapless3() throws Exception {        

    flakyTestWrapper(R.raw.mononoisedcpos, R.raw.mononoisedcpos);    

   }

posted on 2012-08-28 13:52  liupin  阅读(561)  评论(0)    收藏  举报

-->