Index: content/renderer/media/webrtc_audio_renderer.h |
=================================================================== |
--- content/renderer/media/webrtc_audio_renderer.h (revision 275847) |
+++ content/renderer/media/webrtc_audio_renderer.h (working copy) |
@@ -194,8 +194,8 @@ |
// Audio data source from the browser process. |
WebRtcAudioRendererSource* source_; |
- // Protects access to |state_|, |source_| and |sink_|. |
- base::Lock lock_; |
+ // Protects access to |state_|, |source_|, |sink_| and |current_time_|. |
+ mutable base::Lock lock_; |
// Ref count for the MediaPlayers which are playing audio. |
int play_ref_count_; |
@@ -214,6 +214,8 @@ |
// Delay due to the FIFO in milliseconds. |
int fifo_delay_milliseconds_; |
+ base::TimeDelta current_time_; |
+ |
// Saved volume and playing state of the root renderer. |
PlayingState playing_state_; |