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

Side by Side Diff: webrtc/modules/audio_coding/test/TwoWayCommunication.cc

Issue 2668523004: Move AudioDecoder and related stuff to the api/ directory (Closed)
Patch Set: more review fixes Created 3 years, 10 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
« no previous file with comments | « webrtc/modules/audio_coding/neteq/tools/neteq_test.cc ('k') | webrtc/modules/utility/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "TwoWayCommunication.h" 11 #include "TwoWayCommunication.h"
12 12
13 #include <ctype.h> 13 #include <ctype.h>
14 #include <stdio.h> 14 #include <stdio.h>
15 #include <string.h> 15 #include <string.h>
16 16
17 #include <memory> 17 #include <memory>
18 18
19 #ifdef WIN32 19 #ifdef WIN32
20 #include <Windows.h> 20 #include <Windows.h>
21 #endif 21 #endif
22 22
23 #include "webrtc/api/audio_codecs/builtin_audio_decoder_factory.h"
23 #include "webrtc/common_types.h" 24 #include "webrtc/common_types.h"
24 #include "webrtc/modules/audio_coding/codecs/audio_format_conversion.h" 25 #include "webrtc/modules/audio_coding/codecs/audio_format_conversion.h"
25 #include "webrtc/modules/audio_coding/codecs/builtin_audio_decoder_factory.h"
26 #include "webrtc/modules/audio_coding/test/PCMFile.h" 26 #include "webrtc/modules/audio_coding/test/PCMFile.h"
27 #include "webrtc/modules/audio_coding/test/utility.h" 27 #include "webrtc/modules/audio_coding/test/utility.h"
28 #include "webrtc/system_wrappers/include/trace.h" 28 #include "webrtc/system_wrappers/include/trace.h"
29 #include "webrtc/test/gtest.h" 29 #include "webrtc/test/gtest.h"
30 #include "webrtc/test/testsupport/fileutils.h" 30 #include "webrtc/test/testsupport/fileutils.h"
31 #include "webrtc/typedefs.h" 31 #include "webrtc/typedefs.h"
32 32
33 namespace webrtc { 33 namespace webrtc {
34 34
35 #define MAX_FILE_NAME_LENGTH_BYTE 500 35 #define MAX_FILE_NAME_LENGTH_BYTE 500
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 EXPECT_EQ(0, _acmA->InitializeReceiver()); 301 EXPECT_EQ(0, _acmA->InitializeReceiver());
302 // Re-register codec on side A. 302 // Re-register codec on side A.
303 if (((secPassed % 7) == 6) && (msecPassed >= 990)) { 303 if (((secPassed % 7) == 6) && (msecPassed >= 990)) {
304 EXPECT_EQ(true, _acmA->RegisterReceiveCodec( 304 EXPECT_EQ(true, _acmA->RegisterReceiveCodec(
305 codecInst_B->pltype, CodecInstToSdp(*codecInst_B))); 305 codecInst_B->pltype, CodecInstToSdp(*codecInst_B)));
306 } 306 }
307 } 307 }
308 } 308 }
309 309
310 } // namespace webrtc 310 } // namespace webrtc
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/neteq/tools/neteq_test.cc ('k') | webrtc/modules/utility/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698