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

Side by Side Diff: modules/audio_coding/test/TestRedFec.cc

Issue 3019543002: Remove various IDs (Closed)
Patch Set: rebase+build error Created 3 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
« no previous file with comments | « modules/audio_coding/test/TestAllCodecs.cc ('k') | modules/audio_coding/test/TestStereo.cc » ('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
(...skipping 30 matching lines...) Expand all
41 41
42 // These three are only used by code #ifdeffed on WEBRTC_CODEC_G722. 42 // These three are only used by code #ifdeffed on WEBRTC_CODEC_G722.
43 #ifdef WEBRTC_CODEC_G722 43 #ifdef WEBRTC_CODEC_G722
44 const char kNameISAC[] = "ISAC"; 44 const char kNameISAC[] = "ISAC";
45 const char kNameG722[] = "G722"; 45 const char kNameG722[] = "G722";
46 const char kNameOPUS[] = "opus"; 46 const char kNameOPUS[] = "opus";
47 #endif 47 #endif
48 } 48 }
49 49
50 TestRedFec::TestRedFec() 50 TestRedFec::TestRedFec()
51 : _acmA(AudioCodingModule::Create(0)), 51 : _acmA(AudioCodingModule::Create()),
52 _acmB(AudioCodingModule::Create(1)), 52 _acmB(AudioCodingModule::Create()),
53 _channelA2B(NULL), 53 _channelA2B(NULL),
54 _testCntr(0) { 54 _testCntr(0) {
55 } 55 }
56 56
57 TestRedFec::~TestRedFec() { 57 TestRedFec::~TestRedFec() {
58 if (_channelA2B != NULL) { 58 if (_channelA2B != NULL) {
59 delete _channelA2B; 59 delete _channelA2B;
60 _channelA2B = NULL; 60 _channelA2B = NULL;
61 } 61 }
62 } 62 }
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 std::string file_name; 473 std::string file_name;
474 std::stringstream file_stream; 474 std::stringstream file_stream;
475 file_stream << webrtc::test::OutputPath(); 475 file_stream << webrtc::test::OutputPath();
476 file_stream << "TestRedFec_outFile_"; 476 file_stream << "TestRedFec_outFile_";
477 file_stream << test_number << ".pcm"; 477 file_stream << test_number << ".pcm";
478 file_name = file_stream.str(); 478 file_name = file_stream.str();
479 _outFileB.Open(file_name, 16000, "wb"); 479 _outFileB.Open(file_name, 16000, "wb");
480 } 480 }
481 481
482 } // namespace webrtc 482 } // namespace webrtc
OLDNEW
« no previous file with comments | « modules/audio_coding/test/TestAllCodecs.cc ('k') | modules/audio_coding/test/TestStereo.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698