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

Side by Side Diff: webrtc/voice_engine/channel.h

Issue 2535523002: Refactor RMSLevel and give it new functionality (Closed)
Patch Set: Rename to RmsLevel Created 4 years 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
« no previous file with comments | « webrtc/modules/audio_processing/rms_level_unittest.cc ('k') | webrtc/voice_engine/channel.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 500
501 // uses 501 // uses
502 Statistics* _engineStatisticsPtr; 502 Statistics* _engineStatisticsPtr;
503 OutputMixer* _outputMixerPtr; 503 OutputMixer* _outputMixerPtr;
504 TransmitMixer* _transmitMixerPtr; 504 TransmitMixer* _transmitMixerPtr;
505 ProcessThread* _moduleProcessThreadPtr; 505 ProcessThread* _moduleProcessThreadPtr;
506 AudioDeviceModule* _audioDeviceModulePtr; 506 AudioDeviceModule* _audioDeviceModulePtr;
507 VoiceEngineObserver* _voiceEngineObserverPtr; // owned by base 507 VoiceEngineObserver* _voiceEngineObserverPtr; // owned by base
508 rtc::CriticalSection* _callbackCritSectPtr; // owned by base 508 rtc::CriticalSection* _callbackCritSectPtr; // owned by base
509 Transport* _transportPtr; // WebRtc socket or external transport 509 Transport* _transportPtr; // WebRtc socket or external transport
510 RMSLevel rms_level_; 510 RmsLevel rms_level_;
511 int32_t _sendFrameType; // Send data is voice, 1-voice, 0-otherwise 511 int32_t _sendFrameType; // Send data is voice, 1-voice, 0-otherwise
512 // VoEBase 512 // VoEBase
513 bool _externalMixing; 513 bool _externalMixing;
514 bool _mixFileWithMicrophone; 514 bool _mixFileWithMicrophone;
515 // VoEVolumeControl 515 // VoEVolumeControl
516 bool input_mute_ GUARDED_BY(volume_settings_critsect_); 516 bool input_mute_ GUARDED_BY(volume_settings_critsect_);
517 bool previous_frame_muted_; // Only accessed from PrepareEncodeAndSend(). 517 bool previous_frame_muted_; // Only accessed from PrepareEncodeAndSend().
518 float _panLeft GUARDED_BY(volume_settings_critsect_); 518 float _panLeft GUARDED_BY(volume_settings_critsect_);
519 float _panRight GUARDED_BY(volume_settings_critsect_); 519 float _panRight GUARDED_BY(volume_settings_critsect_);
520 float _outputGain GUARDED_BY(volume_settings_critsect_); 520 float _outputGain GUARDED_BY(volume_settings_critsect_);
(...skipping 21 matching lines...) Expand all
542 std::unique_ptr<RateLimiter> retransmission_rate_limiter_; 542 std::unique_ptr<RateLimiter> retransmission_rate_limiter_;
543 543
544 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed. 544 // TODO(ossu): Remove once GetAudioDecoderFactory() is no longer needed.
545 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_; 545 rtc::scoped_refptr<AudioDecoderFactory> decoder_factory_;
546 }; 546 };
547 547
548 } // namespace voe 548 } // namespace voe
549 } // namespace webrtc 549 } // namespace webrtc
550 550
551 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_ 551 #endif // WEBRTC_VOICE_ENGINE_CHANNEL_H_
OLDNEW
« no previous file with comments | « webrtc/modules/audio_processing/rms_level_unittest.cc ('k') | webrtc/voice_engine/channel.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698