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

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

Issue 15822010: Update refernces to Blink's Platform API (content) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 | Annotate | Revision Log
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 "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/synchronization/lock.h" 9 #include "base/synchronization/lock.h"
10 #include "media/audio/audio_parameters.h" 10 #include "media/audio/audio_parameters.h"
11 #include "media/base/audio_capturer_source.h" 11 #include "media/base/audio_capturer_source.h"
12 #include "media/base/audio_fifo.h" 12 #include "media/base/audio_fifo.h"
13 #include "third_party/WebKit/Source/Platform/chromium/public/WebAudioDestination Consumer.h" 13 #include "third_party/WebKit/public/platform/WebAudioDestinationConsumer.h"
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" 14 #include "third_party/WebKit/public/platform/WebVector.h"
15 15
16 namespace content { 16 namespace content {
17 17
18 class WebRtcAudioCapturer; 18 class WebRtcAudioCapturer;
19 19
20 // WebAudioCapturerSource is the missing link between 20 // WebAudioCapturerSource is the missing link between
21 // WebAudio's MediaStreamAudioDestinationNode and WebRtcAudioCapturer. 21 // WebAudio's MediaStreamAudioDestinationNode and WebRtcAudioCapturer.
22 // 22 //
23 // 1. WebKit calls the setFormat() method setting up the basic stream format 23 // 1. WebKit calls the setFormat() method setting up the basic stream format
24 // (channels, and sample-rate). At this time, it dispatches this information 24 // (channels, and sample-rate). At this time, it dispatches this information
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 // Synchronizes HandleCapture() with AudioCapturerSource calls. 72 // Synchronizes HandleCapture() with AudioCapturerSource calls.
73 base::Lock lock_; 73 base::Lock lock_;
74 bool started_; 74 bool started_;
75 75
76 DISALLOW_COPY_AND_ASSIGN(WebAudioCapturerSource); 76 DISALLOW_COPY_AND_ASSIGN(WebAudioCapturerSource);
77 }; 77 };
78 78
79 } // namespace content 79 } // namespace content
80 80
81 #endif // CONTENT_RENDERER_MEDIA_WEBAUDIO_CAPTURER_SOURCE_H_ 81 #endif // CONTENT_RENDERER_MEDIA_WEBAUDIO_CAPTURER_SOURCE_H_
OLDNEW
« no previous file with comments | « content/renderer/media/video_source_handler_unittest.cc ('k') | content/renderer/mhtml_generator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698