OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_LEVEL_CONTROLLER_LC_CONSTANTS_H_ | 11 #ifndef WEBRTC_MODULES_AUDIO_PROCESSING_LEVEL_CONTROLLER_LEVEL_CONTROLLER_CONSTA
NTS_H_ |
12 #define WEBRTC_MODULES_AUDIO_PROCESSING_LEVEL_CONTROLLER_LC_CONSTANTS_H_ | 12 #define WEBRTC_MODULES_AUDIO_PROCESSING_LEVEL_CONTROLLER_LEVEL_CONTROLLER_CONSTA
NTS_H_ |
13 | 13 |
14 namespace webrtc { | 14 namespace webrtc { |
15 | 15 |
16 const float kMaxLcGain = 10; | 16 const float kMaxLcGain = 10; |
17 const float kMaxLcNoisePower = 100.f * 100.f; | 17 const float kMaxLcNoisePower = 100.f * 100.f; |
18 const float kTargetLcPeakLevel = 0.5f * 32767.f; | 18 const float kTargetLcPeakLevel = 16384.f; |
| 19 const float kTargetLcPeakLeveldBFS = -6.0206f; |
19 | 20 |
20 } // namespace webrtc | 21 } // namespace webrtc |
21 | 22 |
22 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_LEVEL_CONTROLLER_LC_CONSTANTS_H_ | 23 #endif // WEBRTC_MODULES_AUDIO_PROCESSING_LEVEL_CONTROLLER_LEVEL_CONTROLLER_CON
STANTS_H_ |
OLD | NEW |