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

Side by Side Diff: modules/audio_coding/test/opus_test.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
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 "modules/audio_coding/test/opus_test.h" 11 #include "modules/audio_coding/test/opus_test.h"
12 12
13 #include <assert.h> 13 #include <assert.h>
14 14
15 #include <string> 15 #include <string>
16 16
17 #include "common_types.h" // NOLINT(build/include) 17 #include "common_types.h" // NOLINT(build/include)
18 #include "modules/audio_coding/codecs/audio_format_conversion.h" 18 #include "modules/audio_coding/codecs/audio_format_conversion.h"
19 #include "modules/audio_coding/codecs/opus/opus_interface.h" 19 #include "modules/audio_coding/codecs/opus/opus_interface.h"
20 #include "modules/audio_coding/include/audio_coding_module_typedefs.h" 20 #include "modules/audio_coding/include/audio_coding_module_typedefs.h"
21 #include "modules/audio_coding/test/TestStereo.h" 21 #include "modules/audio_coding/test/TestStereo.h"
22 #include "modules/audio_coding/test/utility.h" 22 #include "modules/audio_coding/test/utility.h"
23 #include "test/gtest.h" 23 #include "test/gtest.h"
24 #include "test/testsupport/fileutils.h" 24 #include "test/testsupport/fileutils.h"
25 #include "typedefs.h" // NOLINT(build/include) 25 #include "typedefs.h" // NOLINT(build/include)
26 26
27 namespace webrtc { 27 namespace webrtc {
28 28
29 OpusTest::OpusTest() 29 OpusTest::OpusTest()
30 : acm_receiver_(AudioCodingModule::Create(0)), 30 : acm_receiver_(AudioCodingModule::Create()),
31 channel_a2b_(NULL), 31 channel_a2b_(NULL),
32 counter_(0), 32 counter_(0),
33 payload_type_(255), 33 payload_type_(255),
34 rtp_timestamp_(0) {} 34 rtp_timestamp_(0) {}
35 35
36 OpusTest::~OpusTest() { 36 OpusTest::~OpusTest() {
37 if (channel_a2b_ != NULL) { 37 if (channel_a2b_ != NULL) {
38 delete channel_a2b_; 38 delete channel_a2b_;
39 channel_a2b_ = NULL; 39 channel_a2b_ = NULL;
40 } 40 }
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 out_file_.Open(file_name, 48000, "wb"); 381 out_file_.Open(file_name, 48000, "wb");
382 file_stream.str(""); 382 file_stream.str("");
383 file_name = file_stream.str(); 383 file_name = file_stream.str();
384 file_stream << webrtc::test::OutputPath() << "opusstandalone_out_" 384 file_stream << webrtc::test::OutputPath() << "opusstandalone_out_"
385 << test_number << ".pcm"; 385 << test_number << ".pcm";
386 file_name = file_stream.str(); 386 file_name = file_stream.str();
387 out_file_standalone_.Open(file_name, 48000, "wb"); 387 out_file_standalone_.Open(file_name, 48000, "wb");
388 } 388 }
389 389
390 } // namespace webrtc 390 } // namespace webrtc
OLDNEW
« no previous file with comments | « modules/audio_coding/test/insert_packet_with_timing.cc ('k') | modules/audio_coding/test/target_delay_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698