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

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

Issue 2603203003: Revert of Replace basictypes.h with stdint.h for int_t types. (Closed)
Patch Set: 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
19 #include <map> 17 #include <map>
20 18
19 #include "webrtc/base/basictypes.h"
21 #include "webrtc/base/sigslot.h" 20 #include "webrtc/base/sigslot.h"
22 21
23 namespace cricket { 22 namespace cricket {
24 23
25 struct AudioInfo; 24 struct AudioInfo;
26 struct MediaStreams; 25 struct MediaStreams;
27 26
28 class AudioSourceContext { 27 class AudioSourceContext {
29 public: 28 public:
30 sigslot::signal2<AudioSourceContext*, const cricket::AudioInfo&> 29 sigslot::signal2<AudioSourceContext*, const cricket::AudioInfo&>
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 uint32_t current_speaker_ssrc_; 86 uint32_t current_speaker_ssrc_;
88 // To prevent overswitching, switching is disabled for some time after a 87 // 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. 88 // switch is made. This gives us the earliest time a switch is permitted.
90 int64_t earliest_permitted_switch_time_; 89 int64_t earliest_permitted_switch_time_;
91 int min_time_between_switches_; 90 int min_time_between_switches_;
92 }; 91 };
93 92
94 } // namespace cricket 93 } // namespace cricket
95 94
96 #endif // WEBRTC_PC_CURRENTSPEAKERMONITOR_H_ 95 #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