Adding Opus frame length test

BUG=issue1015

Review URL: https://webrtc-codereview.appspot.com/1193005

git-svn-id: http://webrtc.googlecode.com/svn/trunk@3672 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
tina.legrand@webrtc.org
2013-03-15 13:29:17 +00:00
parent d613c207cc
commit 73222cff1a
11 changed files with 396 additions and 68 deletions

View File

@ -8,11 +8,11 @@
* be found in the AUTHORS file in the root of the source tree.
*/
#ifndef ACM_TEST_UTILITY_H
#define ACM_TEST_UTILITY_H
#ifndef WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_UTILITY_H_
#define WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_UTILITY_H_
#include "audio_coding_module.h"
#include "gtest/gtest.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "webrtc/modules/audio_coding/main/interface/audio_coding_module.h"
namespace webrtc {
@ -55,17 +55,6 @@ namespace webrtc {
}while(0)
#ifdef WIN32
/* Exclude rarely-used stuff from Windows headers */
//#define WIN32_LEAN_AND_MEAN
/* OS-dependent case-insensitive string comparison */
#define STR_CASE_CMP(x,y) ::_stricmp(x,y)
#else
/* OS-dependent case-insensitive string comparison */
#define STR_CASE_CMP(x,y) ::strcasecmp(x,y)
#endif
#define DESTROY_ACM(acm) \
do { \
if(acm != NULL) { \
@ -190,6 +179,6 @@ private:
WebRtc_UWord32 _numFrameTypes[6];
};
} // namespace webrtc
} // namespace webrtc
#endif // ACM_TEST_UTILITY_H
#endif // WEBRTC_MODULES_AUDIO_CODING_MAIN_TEST_UTILITY_H_