| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 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/common_audio/signal_processing/include/signal_processing_librar
y.h" | 11 #include "webrtc/common_audio/signal_processing/include/signal_processing_librar
y.h" |
| 12 #include "webrtc/modules/interface/module_common_types.h" | 12 #include "webrtc/modules/include/module_common_types.h" |
| 13 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" | 13 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
| 14 #include "webrtc/voice_engine/level_indicator.h" | 14 #include "webrtc/voice_engine/level_indicator.h" |
| 15 | 15 |
| 16 namespace webrtc { | 16 namespace webrtc { |
| 17 | 17 |
| 18 namespace voe { | 18 namespace voe { |
| 19 | 19 |
| 20 // Number of bars on the indicator. | 20 // Number of bars on the indicator. |
| 21 // Note that the number of elements is specified because we are indexing it | 21 // Note that the number of elements is specified because we are indexing it |
| 22 // in the range of 0-32 | 22 // in the range of 0-32 |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 | 94 |
| 95 int16_t AudioLevel::LevelFullRange() const | 95 int16_t AudioLevel::LevelFullRange() const |
| 96 { | 96 { |
| 97 CriticalSectionScoped cs(&_critSect); | 97 CriticalSectionScoped cs(&_critSect); |
| 98 return _currentLevelFullRange; | 98 return _currentLevelFullRange; |
| 99 } | 99 } |
| 100 | 100 |
| 101 } // namespace voe | 101 } // namespace voe |
| 102 | 102 |
| 103 } // namespace webrtc | 103 } // namespace webrtc |
| OLD | NEW |