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

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: Made local variable const. Created 4 years, 3 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 for VoEVolumeControl. Return value
63 // between 0 and 9 is returned by voe::AudioLevel.
64 virtual int GetOutputAudioLevel() = 0;
65
66 // Return value between 0 and 0x7fff is returned by voe::AudioLevel.
67 virtual int GetOutputAudioLevelFullRange() = 0;
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_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_mixer/audio_mixer.gypi ('k') | webrtc/modules/audio_mixer/new_audio_conference_mixer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698