Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(791)

Side by Side Diff: webrtc/voice_engine/test/auto_test/voe_test_common.h

Issue 2401673002: Delete old video defines in engine config and rename file (Closed)
Patch Set: And GYP Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 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 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 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
11 #ifndef WEBRTC_VOICE_ENGINE_VOE_TEST_COMMON_H_ 11 #ifndef WEBRTC_VOICE_ENGINE_VOE_TEST_COMMON_H_
12 #define WEBRTC_VOICE_ENGINE_VOE_TEST_COMMON_H_ 12 #define WEBRTC_VOICE_ENGINE_VOE_TEST_COMMON_H_
13 13
14 #ifdef WEBRTC_ANDROID 14 #ifdef WEBRTC_ANDROID
15 #include <android/log.h> 15 #include <android/log.h>
16 #define ANDROID_LOG_TAG "VoiceEngine Auto Test" 16 #define ANDROID_LOG_TAG "VoiceEngine Auto Test"
17 #define TEST_LOG(...) \ 17 #define TEST_LOG(...) \
18 __android_log_print(ANDROID_LOG_DEBUG, ANDROID_LOG_TAG, __VA_ARGS__) 18 __android_log_print(ANDROID_LOG_DEBUG, ANDROID_LOG_TAG, __VA_ARGS__)
19 #define TEST_LOG_ERROR(...) \ 19 #define TEST_LOG_ERROR(...) \
20 __android_log_print(ANDROID_LOG_ERROR, ANDROID_LOG_TAG, __VA_ARGS__) 20 __android_log_print(ANDROID_LOG_ERROR, ANDROID_LOG_TAG, __VA_ARGS__)
21 #define TEST_LOG_FLUSH 21 #define TEST_LOG_FLUSH
22 #else 22 #else
23 #define TEST_LOG printf 23 #define TEST_LOG printf
24 #define TEST_LOG_ERROR printf 24 #define TEST_LOG_ERROR printf
25 #define TEST_LOG_FLUSH fflush(NULL) 25 #define TEST_LOG_FLUSH fflush(NULL)
26 #endif 26 #endif
27 27
28 // Read WEBRTC_VOICE_ENGINE_XXX_API compiler flags 28 // Read WEBRTC_VOICE_ENGINE_XXX_API compiler flags
29 #include "webrtc/engine_configurations.h" 29 #include "webrtc/voice_engine_configurations.h"
30 30
31 // Time in ms to test each packet size for each codec 31 // Time in ms to test each packet size for each codec
32 #define CODEC_TEST_TIME 400 32 #define CODEC_TEST_TIME 400
33 33
34 #endif // WEBRTC_VOICE_ENGINE_VOE_TEST_COMMON_H_ 34 #endif // WEBRTC_VOICE_ENGINE_VOE_TEST_COMMON_H_
OLDNEW
« no previous file with comments | « webrtc/voice_engine/test/auto_test/voe_standard_test.cc ('k') | webrtc/voice_engine/test/auto_test/voe_test_defines.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698