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 |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
125 const AudioFrameList& audioFrameList) const; | 125 const AudioFrameList& audioFrameList) const; |
126 | 126 |
127 bool LimitMixedAudio(AudioFrame* mixedAudio) const; | 127 bool LimitMixedAudio(AudioFrame* mixedAudio) const; |
128 | 128 |
129 // Output level functions for VoEVolumeControl. | 129 // Output level functions for VoEVolumeControl. |
130 int GetOutputAudioLevel() override; | 130 int GetOutputAudioLevel() override; |
131 | 131 |
132 int GetOutputAudioLevelFullRange() override; | 132 int GetOutputAudioLevelFullRange() override; |
133 | 133 |
134 std::unique_ptr<CriticalSectionWrapper> crit_; | 134 std::unique_ptr<CriticalSectionWrapper> crit_; |
135 std::unique_ptr<CriticalSectionWrapper> cb_crit_; | |
kwiberg-webrtc
2016/08/31 09:10:36
It's troubling that there aren't lock annotations
| |
136 | 135 |
137 int32_t id_; | 136 int32_t id_; |
138 | 137 |
139 // The current sample frequency and sample size when mixing. | 138 // The current sample frequency and sample size when mixing. |
140 Frequency output_frequency_; | 139 Frequency output_frequency_; |
141 size_t sample_size_; | 140 size_t sample_size_; |
142 | 141 |
143 // List of all audio sources. Note all lists are disjunct | 142 // List of all audio sources. Note all lists are disjunct |
144 MixerAudioSourceList audio_source_list_; // May be mixed. | 143 MixerAudioSourceList audio_source_list_; // May be mixed. |
145 | 144 |
(...skipping 12 matching lines...) Expand all Loading... | |
158 | 157 |
159 // Used for inhibiting saturation in mixing. | 158 // Used for inhibiting saturation in mixing. |
160 std::unique_ptr<AudioProcessing> limiter_; | 159 std::unique_ptr<AudioProcessing> limiter_; |
161 | 160 |
162 // Measures audio level for the combined signal. | 161 // Measures audio level for the combined signal. |
163 voe::AudioLevel audio_level_; | 162 voe::AudioLevel audio_level_; |
164 }; | 163 }; |
165 } // namespace webrtc | 164 } // namespace webrtc |
166 | 165 |
167 #endif // WEBRTC_MODULES_AUDIO_MIXER_AUDIO_MIXER_IMPL_H_ | 166 #endif // WEBRTC_MODULES_AUDIO_MIXER_AUDIO_MIXER_IMPL_H_ |
OLD | NEW |