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

Side by Side Diff: talk/session/media/channelmanager.h

Issue 1362503003: Use suffixed {uint,int}{8,16,32,64}_t types. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: google::int32 Created 5 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 * libjingle 2 * libjingle
3 * Copyright 2004 Google Inc. 3 * Copyright 2004 Google Inc.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright notice, 8 * 1. Redistributions of source code must retain the above copyright notice,
9 * this list of conditions and the following disclaimer. 9 * this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright notice, 10 * 2. Redistributions in binary form must reproduce the above copyright notice,
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
170 bool capturing() const { return capturing_; } 170 bool capturing() const { return capturing_; }
171 171
172 // Configures the logging output of the mediaengine(s). 172 // Configures the logging output of the mediaengine(s).
173 void SetVoiceLogging(int level, const char* filter); 173 void SetVoiceLogging(int level, const char* filter);
174 void SetVideoLogging(int level, const char* filter); 174 void SetVideoLogging(int level, const char* filter);
175 175
176 // Gets capturer's supported formats in a thread safe manner 176 // Gets capturer's supported formats in a thread safe manner
177 std::vector<cricket::VideoFormat> GetSupportedFormats( 177 std::vector<cricket::VideoFormat> GetSupportedFormats(
178 VideoCapturer* capturer) const; 178 VideoCapturer* capturer) const;
179 // The channel manager handles the Tx and Rx side for Voice processing. 179 // The channel manager handles the Tx and Rx side for Voice processing.
180 bool RegisterVoiceProcessor(uint32 ssrc, 180 bool RegisterVoiceProcessor(uint32_t ssrc,
181 VoiceProcessor* processor, 181 VoiceProcessor* processor,
182 MediaProcessorDirection direction); 182 MediaProcessorDirection direction);
183 bool UnregisterVoiceProcessor(uint32 ssrc, 183 bool UnregisterVoiceProcessor(uint32_t ssrc,
184 VoiceProcessor* processor, 184 VoiceProcessor* processor,
185 MediaProcessorDirection direction); 185 MediaProcessorDirection direction);
186 // The following are done in the new "CaptureManager" style that 186 // The following are done in the new "CaptureManager" style that
187 // all local video capturers, processors, and managers should move to. 187 // all local video capturers, processors, and managers should move to.
188 // TODO(pthatcher): Make methods nicer by having start return a handle that 188 // TODO(pthatcher): Make methods nicer by having start return a handle that
189 // can be used for stop and restart, rather than needing to pass around 189 // can be used for stop and restart, rather than needing to pass around
190 // formats a a pseudo-handle. 190 // formats a a pseudo-handle.
191 bool StartVideoCapture(VideoCapturer* video_capturer, 191 bool StartVideoCapture(VideoCapturer* video_capturer,
192 const VideoFormat& video_format); 192 const VideoFormat& video_format);
193 // When muting, produce black frames then pause the camera. 193 // When muting, produce black frames then pause the camera.
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
308 // but selected devices while this sting will be empty or contain current 308 // but selected devices while this sting will be empty or contain current
309 // selected device. 309 // selected device.
310 // TODO(hellner): refactor the code such that there is no need to keep two 310 // TODO(hellner): refactor the code such that there is no need to keep two
311 // strings for video devices that have subtle differences in behavior. 311 // strings for video devices that have subtle differences in behavior.
312 std::string video_device_name_; 312 std::string video_device_name_;
313 }; 313 };
314 314
315 } // namespace cricket 315 } // namespace cricket
316 316
317 #endif // TALK_SESSION_MEDIA_CHANNELMANAGER_H_ 317 #endif // TALK_SESSION_MEDIA_CHANNELMANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698