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

Side by Side Diff: webrtc/modules/audio_coding/acm2/acm_receive_test_oldapi.h

Issue 2290593002: Fix Chromium clang plugin warnings (Closed)
Patch Set: Created 4 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
1 /* 1 /*
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2014 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 20 matching lines...) Expand all
31 enum NumOutputChannels { 31 enum NumOutputChannels {
32 kArbitraryChannels = 0, 32 kArbitraryChannels = 0,
33 kMonoOutput = 1, 33 kMonoOutput = 1,
34 kStereoOutput = 2 34 kStereoOutput = 2
35 }; 35 };
36 36
37 AcmReceiveTestOldApi(PacketSource* packet_source, 37 AcmReceiveTestOldApi(PacketSource* packet_source,
38 AudioSink* audio_sink, 38 AudioSink* audio_sink,
39 int output_freq_hz, 39 int output_freq_hz,
40 NumOutputChannels exptected_output_channels); 40 NumOutputChannels exptected_output_channels);
41 virtual ~AcmReceiveTestOldApi() {} 41 virtual ~AcmReceiveTestOldApi();
42 42
43 // Registers the codecs with default parameters from ACM. 43 // Registers the codecs with default parameters from ACM.
44 void RegisterDefaultCodecs(); 44 void RegisterDefaultCodecs();
45 45
46 // Registers codecs with payload types matching the pre-encoded NetEq test 46 // Registers codecs with payload types matching the pre-encoded NetEq test
47 // files. 47 // files.
48 void RegisterNetEqTestCodecs(); 48 void RegisterNetEqTestCodecs();
49 49
50 int RegisterExternalReceiveCodec(int rtp_payload_type, 50 int RegisterExternalReceiveCodec(int rtp_payload_type,
51 AudioDecoder* external_decoder, 51 AudioDecoder* external_decoder,
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 88
89 const int output_freq_hz_1_; 89 const int output_freq_hz_1_;
90 const int output_freq_hz_2_; 90 const int output_freq_hz_2_;
91 const int toggle_period_ms_; 91 const int toggle_period_ms_;
92 int64_t last_toggle_time_ms_; 92 int64_t last_toggle_time_ms_;
93 }; 93 };
94 94
95 } // namespace test 95 } // namespace test
96 } // namespace webrtc 96 } // namespace webrtc
97 #endif // WEBRTC_MODULES_AUDIO_CODING_ACM2_ACM_RECEIVE_TEST_OLDAPI_H_ 97 #endif // WEBRTC_MODULES_AUDIO_CODING_ACM2_ACM_RECEIVE_TEST_OLDAPI_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/BUILD.gn ('k') | webrtc/modules/audio_coding/acm2/acm_receive_test_oldapi.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698