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

Side by Side Diff: webrtc/tools/agc/test_utils.h

Issue 2299023004: Remove unused agc_unittest.cc and agc_harness.cc (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
« no previous file with comments | « webrtc/tools/agc/agc_harness.cc ('k') | webrtc/tools/agc/test_utils.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 *
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
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
11 #ifndef WEBRTC_TOOLS_AGC_TEST_UTILS_H_
12 #define WEBRTC_TOOLS_AGC_TEST_UTILS_H_
13 namespace webrtc {
14
15 class AudioFrame;
16
17 float MicLevel2Gain(int gain_range_db, int level);
18 float Db2Linear(float db);
19 void ApplyGainLinear(float gain, float last_gain, AudioFrame* frame);
20 void ApplyGain(float gain_db, float last_gain_db, AudioFrame* frame);
21 void SimulateMic(int gain_range_db, int mic_level, int last_mic_level,
22 AudioFrame* frame);
23 void SimulateMic(int gain_map[255], int mic_level, int last_mic_level,
24 AudioFrame* frame);
25
26 } // namespace webrtc
27
28 #endif // WEBRTC_TOOLS_AGC_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « webrtc/tools/agc/agc_harness.cc ('k') | webrtc/tools/agc/test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698