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 for VoEVolumeControl. Return value | |
63 // between 0 and 9 is returned by voe::AudioLevel. | |
64 virtual uint32_t GetOutputAudioLevel() = 0; | |
65 | |
66 // Return value between 0 and 0x7fff is returned by voe::AudioLevel. | |
67 virtual uint32_t GetOutputAudioLevelFullRange() = 0; | |
kwiberg-webrtc
2016/08/23 12:58:26
Style guide says to use regular int for small inte
aleloi
2016/08/24 07:19:47
Done.
| |
68 | |
62 protected: | 69 protected: |
63 NewAudioConferenceMixer() {} | 70 NewAudioConferenceMixer() {} |
64 }; | 71 }; |
65 } // namespace webrtc | 72 } // namespace webrtc |
66 | 73 |
67 #endif // WEBRTC_MODULES_AUDIO_MIXER_NEW_AUDIO_CONFERENCE_MIXER_H_ | 74 #endif // WEBRTC_MODULES_AUDIO_MIXER_NEW_AUDIO_CONFERENCE_MIXER_H_ |
OLD | NEW |