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

Side by Side Diff: webrtc/modules/audio_coding/main/test/opus_test.cc

Issue 1413333002: system_wrappers: rename interface -> include (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased again! Created 5 years, 1 month 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 "webrtc/modules/audio_coding/main/test/opus_test.h" 11 #include "webrtc/modules/audio_coding/main/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 "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 #include "webrtc/common_types.h" 18 #include "webrtc/common_types.h"
19 #include "webrtc/engine_configurations.h" 19 #include "webrtc/engine_configurations.h"
20 #include "webrtc/modules/audio_coding/codecs/opus/interface/opus_interface.h" 20 #include "webrtc/modules/audio_coding/codecs/opus/interface/opus_interface.h"
21 #include "webrtc/modules/audio_coding/main/interface/audio_coding_module_typedef s.h" 21 #include "webrtc/modules/audio_coding/main/interface/audio_coding_module_typedef s.h"
22 #include "webrtc/modules/audio_coding/main/acm2/acm_codec_database.h" 22 #include "webrtc/modules/audio_coding/main/acm2/acm_codec_database.h"
23 #include "webrtc/modules/audio_coding/main/test/TestStereo.h" 23 #include "webrtc/modules/audio_coding/main/test/TestStereo.h"
24 #include "webrtc/modules/audio_coding/main/test/utility.h" 24 #include "webrtc/modules/audio_coding/main/test/utility.h"
25 #include "webrtc/system_wrappers/interface/trace.h" 25 #include "webrtc/system_wrappers/include/trace.h"
26 #include "webrtc/test/testsupport/fileutils.h" 26 #include "webrtc/test/testsupport/fileutils.h"
27 27
28 namespace webrtc { 28 namespace webrtc {
29 29
30 OpusTest::OpusTest() 30 OpusTest::OpusTest()
31 : acm_receiver_(AudioCodingModule::Create(0)), 31 : acm_receiver_(AudioCodingModule::Create(0)),
32 channel_a2b_(NULL), 32 channel_a2b_(NULL),
33 counter_(0), 33 counter_(0),
34 payload_type_(255), 34 payload_type_(255),
35 rtp_timestamp_(0) {} 35 rtp_timestamp_(0) {}
(...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after
372 out_file_.Open(file_name, 48000, "wb"); 372 out_file_.Open(file_name, 48000, "wb");
373 file_stream.str(""); 373 file_stream.str("");
374 file_name = file_stream.str(); 374 file_name = file_stream.str();
375 file_stream << webrtc::test::OutputPath() << "opusstandalone_out_" 375 file_stream << webrtc::test::OutputPath() << "opusstandalone_out_"
376 << test_number << ".pcm"; 376 << test_number << ".pcm";
377 file_name = file_stream.str(); 377 file_name = file_stream.str();
378 out_file_standalone_.Open(file_name, 48000, "wb"); 378 out_file_standalone_.Open(file_name, 48000, "wb");
379 } 379 }
380 380
381 } // namespace webrtc 381 } // namespace webrtc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698