| Index: webrtc/modules/audio_processing/level_controller/lc_constants.h
|
| diff --git a/webrtc/modules/audio_coding/neteq/packet.cc b/webrtc/modules/audio_processing/level_controller/lc_constants.h
|
| similarity index 57%
|
| copy from webrtc/modules/audio_coding/neteq/packet.cc
|
| copy to webrtc/modules/audio_processing/level_controller/lc_constants.h
|
| index 8a19fe4d5923d5e22a5b485600c6da0c5f3856ba..4a64d02af75e23db84cc491eb62398eb1213a6e6 100644
|
| --- a/webrtc/modules/audio_coding/neteq/packet.cc
|
| +++ b/webrtc/modules/audio_processing/level_controller/lc_constants.h
|
| @@ -8,12 +8,15 @@
|
| * be found in the AUTHORS file in the root of the source tree.
|
| */
|
|
|
| -#include "webrtc/modules/audio_coding/neteq/packet.h"
|
| +#ifndef WEBRTC_MODULES_AUDIO_PROCESSING_LEVEL_CONTROLLER_LC_CONSTANTS_H_
|
| +#define WEBRTC_MODULES_AUDIO_PROCESSING_LEVEL_CONTROLLER_LC_CONSTANTS_H_
|
|
|
| namespace webrtc {
|
|
|
| -Packet::Packet() = default;
|
| -
|
| -Packet::~Packet() = default;
|
| +const float kMaxLcGain = 45;
|
| +const float kMaxLcNoisePower = 200.f * 200.f;
|
| +const float kTargetLcPeakLevel = 0.8f * 32767.f;
|
|
|
| } // namespace webrtc
|
| +
|
| +#endif // WEBRTC_MODULES_AUDIO_PROCESSING_LEVEL_CONTROLLER_LC_CONSTANTS_H_
|
|
|