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

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

Issue 2609783002: Reland of place basictypes.h with stdint.h for int_t types. (Closed)
Patch Set: add basictypes.h to systeminfo.cc Created 3 years, 11 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/p2p/stunprober/stunprober_unittest.cc ('k') | webrtc/pc/externalhmac.h » ('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>
18
17 #include <map> 19 #include <map>
18 20
19 #include "webrtc/base/basictypes.h"
20 #include "webrtc/base/sigslot.h" 21 #include "webrtc/base/sigslot.h"
21 22
22 namespace cricket { 23 namespace cricket {
23 24
24 struct AudioInfo; 25 struct AudioInfo;
25 struct MediaStreams; 26 struct MediaStreams;
26 27
27 class AudioSourceContext { 28 class AudioSourceContext {
28 public: 29 public:
29 sigslot::signal2<AudioSourceContext*, const cricket::AudioInfo&> 30 sigslot::signal2<AudioSourceContext*, const cricket::AudioInfo&>
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 uint32_t current_speaker_ssrc_; 87 uint32_t current_speaker_ssrc_;
87 // To prevent overswitching, switching is disabled for some time after a 88 // To prevent overswitching, switching is disabled for some time after a
88 // 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.
89 int64_t earliest_permitted_switch_time_; 90 int64_t earliest_permitted_switch_time_;
90 int min_time_between_switches_; 91 int min_time_between_switches_;
91 }; 92 };
92 93
93 } // namespace cricket 94 } // namespace cricket
94 95
95 #endif // WEBRTC_PC_CURRENTSPEAKERMONITOR_H_ 96 #endif // WEBRTC_PC_CURRENTSPEAKERMONITOR_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/stunprober/stunprober_unittest.cc ('k') | webrtc/pc/externalhmac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698