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

Side by Side Diff: webrtc/pc/currentspeakermonitor.h

Issue 2969623003: Update includes for webrtc/{base => rtc_base} rename (2/3) (Closed)
Patch Set: Rebased onto 224e65939af87443addfc5bb500fbf434728bd1c and restored sorting in clock.cc Created 3 years, 5 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
« no previous file with comments | « webrtc/pc/createpeerconnectionfactory.cc ('k') | webrtc/pc/currentspeakermonitor.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 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright 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
11 // CurrentSpeakerMonitor monitors the audio levels for a session and determines 11 // CurrentSpeakerMonitor monitors the audio levels for a session and determines
12 // which participant is currently speaking. 12 // which participant is currently speaking.
13 13
14 #ifndef WEBRTC_PC_CURRENTSPEAKERMONITOR_H_ 14 #ifndef WEBRTC_PC_CURRENTSPEAKERMONITOR_H_
15 #define WEBRTC_PC_CURRENTSPEAKERMONITOR_H_ 15 #define WEBRTC_PC_CURRENTSPEAKERMONITOR_H_
16 16
17 #include <stdint.h> 17 #include <stdint.h>
18 18
19 #include <map> 19 #include <map>
20 20
21 #include "webrtc/base/sigslot.h" 21 #include "webrtc/rtc_base/sigslot.h"
22 22
23 namespace cricket { 23 namespace cricket {
24 24
25 struct AudioInfo; 25 struct AudioInfo;
26 struct MediaStreams; 26 struct MediaStreams;
27 27
28 class AudioSourceContext { 28 class AudioSourceContext {
29 public: 29 public:
30 sigslot::signal2<AudioSourceContext*, const cricket::AudioInfo&> 30 sigslot::signal2<AudioSourceContext*, const cricket::AudioInfo&>
31 SignalAudioMonitor; 31 SignalAudioMonitor;
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 uint32_t current_speaker_ssrc_; 87 uint32_t current_speaker_ssrc_;
88 // To prevent overswitching, switching is disabled for some time after a 88 // To prevent overswitching, switching is disabled for some time after a
89 // switch is made. This gives us the earliest time a switch is permitted. 89 // switch is made. This gives us the earliest time a switch is permitted.
90 int64_t earliest_permitted_switch_time_; 90 int64_t earliest_permitted_switch_time_;
91 int min_time_between_switches_; 91 int min_time_between_switches_;
92 }; 92 };
93 93
94 } // namespace cricket 94 } // namespace cricket
95 95
96 #endif // WEBRTC_PC_CURRENTSPEAKERMONITOR_H_ 96 #endif // WEBRTC_PC_CURRENTSPEAKERMONITOR_H_
OLDNEW
« no previous file with comments | « webrtc/pc/createpeerconnectionfactory.cc ('k') | webrtc/pc/currentspeakermonitor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698