| OLD | NEW |
| (Empty) |
| 1 /* | |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | |
| 3 * | |
| 4 * Use of this source code is governed by a BSD-style license | |
| 5 * that can be found in the LICENSE file in the root of the source | |
| 6 * tree. An additional intellectual property rights grant can be found | |
| 7 * in the file PATENTS. All contributing project authors may | |
| 8 * be found in the AUTHORS file in the root of the source tree. | |
| 9 */ | |
| 10 | |
| 11 #ifndef WEBRTC_VOICE_ENGINE_VOE_TEST_COMMON_H_ | |
| 12 #define WEBRTC_VOICE_ENGINE_VOE_TEST_COMMON_H_ | |
| 13 | |
| 14 #ifdef WEBRTC_ANDROID | |
| 15 #include <android/log.h> | |
| 16 #define ANDROID_LOG_TAG "VoiceEngine Auto Test" | |
| 17 #define TEST_LOG(...) \ | |
| 18 __android_log_print(ANDROID_LOG_DEBUG, ANDROID_LOG_TAG, __VA_ARGS__) | |
| 19 #define TEST_LOG_ERROR(...) \ | |
| 20 __android_log_print(ANDROID_LOG_ERROR, ANDROID_LOG_TAG, __VA_ARGS__) | |
| 21 #define TEST_LOG_FLUSH | |
| 22 #else | |
| 23 #define TEST_LOG printf | |
| 24 #define TEST_LOG_ERROR printf | |
| 25 #define TEST_LOG_FLUSH fflush(NULL) | |
| 26 #endif | |
| 27 | |
| 28 // Time in ms to test each packet size for each codec | |
| 29 #define CODEC_TEST_TIME 400 | |
| 30 | |
| 31 #endif // WEBRTC_VOICE_ENGINE_VOE_TEST_COMMON_H_ | |
| OLD | NEW |