Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: webrtc/modules/audio_mixer/new_audio_conference_mixer.h

Issue 2230823004: Added a level indicator to new mixer. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@mixer_gn_fixes
Patch Set: Fixed audio mixer volume tests, inited SPL. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698