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

Side by Side Diff: content/renderer/media/webaudio_capturer_source.h

Issue 1875463002: Remove unused fields from //content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scythe-root
Patch Set: Reverting not really needed changes under //gpu. Created 4 years, 8 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_RENDERER_MEDIA_WEBAUDIO_CAPTURER_SOURCE_H_ 5 #ifndef CONTENT_RENDERER_MEDIA_WEBAUDIO_CAPTURER_SOURCE_H_
6 #define CONTENT_RENDERER_MEDIA_WEBAUDIO_CAPTURER_SOURCE_H_ 6 #define CONTENT_RENDERER_MEDIA_WEBAUDIO_CAPTURER_SOURCE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 // track has the required buffer size, regardless of the amount of audio 81 // track has the required buffer size, regardless of the amount of audio
82 // provided via each consumeAudio() call. 82 // provided via each consumeAudio() call.
83 media::AudioPushFifo fifo_; 83 media::AudioPushFifo fifo_;
84 84
85 // Used to pass the reference timestamp between DeliverDecodedAudio() and 85 // Used to pass the reference timestamp between DeliverDecodedAudio() and
86 // DeliverRebufferedAudio(). 86 // DeliverRebufferedAudio().
87 base::TimeTicks current_reference_time_; 87 base::TimeTicks current_reference_time_;
88 88
89 // Synchronizes HandleCapture() with AudioCapturerSource calls. 89 // Synchronizes HandleCapture() with AudioCapturerSource calls.
90 base::Lock lock_; 90 base::Lock lock_;
91 bool started_;
92 91
93 // This object registers with a blink::WebMediaStreamSource. We keep track of 92 // This object registers with a blink::WebMediaStreamSource. We keep track of
94 // that in order to be able to deregister before stopping the audio track. 93 // that in order to be able to deregister before stopping the audio track.
95 blink::WebMediaStreamSource blink_source_; 94 blink::WebMediaStreamSource blink_source_;
96 95
97 DISALLOW_COPY_AND_ASSIGN(WebAudioCapturerSource); 96 DISALLOW_COPY_AND_ASSIGN(WebAudioCapturerSource);
98 }; 97 };
99 98
100 } // namespace content 99 } // namespace content
101 100
102 #endif // CONTENT_RENDERER_MEDIA_WEBAUDIO_CAPTURER_SOURCE_H_ 101 #endif // CONTENT_RENDERER_MEDIA_WEBAUDIO_CAPTURER_SOURCE_H_
OLDNEW
« no previous file with comments | « content/renderer/media/media_stream_dispatcher_unittest.cc ('k') | content/renderer/media/webrtc_audio_device_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698