OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2011 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 // called from a single thread. The rate and channels arguments | 52 // called from a single thread. The rate and channels arguments |
53 // specify the rate and number of channels of the mix result. | 53 // specify the rate and number of channels of the mix result. |
54 virtual void Mix(int sample_rate, | 54 virtual void Mix(int sample_rate, |
55 size_t number_of_channels, | 55 size_t number_of_channels, |
56 AudioFrame* audio_frame_for_mixing) = 0; | 56 AudioFrame* audio_frame_for_mixing) = 0; |
57 | 57 |
58 // Returns true if the audio source is mixed anonymously. | 58 // Returns true if the audio source is mixed anonymously. |
59 virtual bool AnonymousMixabilityStatus( | 59 virtual bool AnonymousMixabilityStatus( |
60 const MixerAudioSource& audio_source) const = 0; | 60 const MixerAudioSource& audio_source) const = 0; |
61 | 61 |
| 62 // Output level functions from VoEVolumeControl |
| 63 virtual uint32_t GetSpeechOutputLevel() = 0; |
| 64 |
| 65 virtual uint32_t GetSpeechOutputLevelFullRange() = 0; |
| 66 |
62 protected: | 67 protected: |
63 NewAudioConferenceMixer() {} | 68 NewAudioConferenceMixer() {} |
64 }; | 69 }; |
65 } // namespace webrtc | 70 } // namespace webrtc |
66 | 71 |
67 #endif // WEBRTC_MODULES_AUDIO_MIXER_NEW_AUDIO_CONFERENCE_MIXER_H_ | 72 #endif // WEBRTC_MODULES_AUDIO_MIXER_NEW_AUDIO_CONFERENCE_MIXER_H_ |
OLD | NEW |