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

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

Issue 3007383002: Replace voe_auto_test (Closed)
Patch Set: reviewer comment Created 3 years, 3 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
(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 VOICE_ENGINE_VOE_TEST_COMMON_H_
12 #define 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 // VOICE_ENGINE_VOE_TEST_COMMON_H_
OLDNEW
« no previous file with comments | « voice_engine/test/auto_test/voe_standard_test.cc ('k') | voice_engine/test/auto_test/voe_test_defines.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698