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

Side by Side Diff: content/renderer/media/webrtc_local_audio_source_provider.cc

Issue 68683009: Rewrite include paths for Blink public/ headers that have moved (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 1 month 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 #include "content/renderer/media/webrtc_local_audio_source_provider.h" 5 #include "content/renderer/media/webrtc_local_audio_source_provider.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "content/renderer/render_thread_impl.h" 8 #include "content/renderer/render_thread_impl.h"
9 #include "media/audio/audio_parameters.h" 9 #include "media/audio/audio_parameters.h"
10 #include "media/base/audio_fifo.h" 10 #include "media/base/audio_fifo.h"
11 #include "media/base/audio_hardware_config.h" 11 #include "media/base/audio_hardware_config.h"
12 #include "third_party/WebKit/public/web/WebAudioSourceProviderClient.h" 12 #include "third_party/WebKit/public/platform/WebAudioSourceProviderClient.h"
13 13
14 using blink::WebVector; 14 using blink::WebVector;
15 15
16 namespace content { 16 namespace content {
17 17
18 static const size_t kMaxNumberOfBuffers = 10; 18 static const size_t kMaxNumberOfBuffers = 10;
19 19
20 // Size of the buffer that WebAudio processes each time, it is the same value 20 // Size of the buffer that WebAudio processes each time, it is the same value
21 // as AudioNode::ProcessingSizeInFrames in WebKit. 21 // as AudioNode::ProcessingSizeInFrames in WebKit.
22 // static 22 // static
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 return 1.0; 146 return 1.0;
147 } 147 }
148 148
149 void WebRtcLocalAudioSourceProvider::SetSinkParamsForTesting( 149 void WebRtcLocalAudioSourceProvider::SetSinkParamsForTesting(
150 const media::AudioParameters& sink_params) { 150 const media::AudioParameters& sink_params) {
151 DCHECK(thread_checker_.CalledOnValidThread()); 151 DCHECK(thread_checker_.CalledOnValidThread());
152 sink_params_ = sink_params; 152 sink_params_ = sink_params;
153 } 153 }
154 154
155 } // namespace content 155 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/media/webmediaplayer_util.cc ('k') | content/renderer/media/websourcebuffer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698