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

Unified Diff: content/renderer/media/webrtc_audio_device_impl.h

Issue 11783059: Ensures that WebRTC works for device selection using a different sample rate than default (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed content_unittests Created 7 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/media/webrtc_audio_device_impl.h
diff --git a/content/renderer/media/webrtc_audio_device_impl.h b/content/renderer/media/webrtc_audio_device_impl.h
index 701a7c2c9945fedc913fa9dc47477caa5f4dbcc1..5c8c12d5242525d8c3cba433fad4e5324d3f7e28 100644
--- a/content/renderer/media/webrtc_audio_device_impl.h
+++ b/content/renderer/media/webrtc_audio_device_impl.h
@@ -369,9 +369,6 @@ class CONTENT_EXPORT WebRtcAudioDeviceImpl
virtual int32_t SetLoudspeakerStatus(bool enable) OVERRIDE;
virtual int32_t GetLoudspeakerStatus(bool* enabled) const OVERRIDE;
- // Sets the session id.
- void SetSessionId(int session_id);
-
// Sets the |renderer_|, returns false if |renderer_| has already existed.
bool SetRenderer(WebRtcAudioRenderer* renderer);
@@ -439,10 +436,6 @@ class CONTENT_EXPORT WebRtcAudioDeviceImpl
base::TimeTicks last_process_time_;
- // Id of the media session to be started, it tells which device to be used
- // on the input/capture side.
- int session_id_;
-
// Protects |recording_|, |output_delay_ms_|, |input_delay_ms_|, |renderer_|.
mutable base::Lock lock_;

Powered by Google App Engine
This is Rietveld 408576698