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

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

Issue 7003053: Moves audio files from content\renderer\ to content\renderer\media. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 9 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/audio_input_device.h" 5 #include "content/renderer/media/audio_input_device.h"
6 6
7 #include "base/memory/singleton.h" 7 #include "base/memory/singleton.h"
8 #include "base/message_loop.h" 8 #include "base/message_loop.h"
9 #include "content/common/audio_messages.h" 9 #include "content/common/audio_messages.h"
10 #include "content/common/child_process.h" 10 #include "content/common/child_process.h"
11 #include "content/common/view_messages.h" 11 #include "content/common/view_messages.h"
12 #include "content/renderer/render_thread.h" 12 #include "content/renderer/render_thread.h"
13 #include "media/audio/audio_util.h" 13 #include "media/audio/audio_util.h"
14 14
15 scoped_refptr<AudioInputMessageFilter> AudioInputDevice::filter_; 15 scoped_refptr<AudioInputMessageFilter> AudioInputDevice::filter_;
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 bytes_per_sample, 232 bytes_per_sample,
233 number_of_frames); 233 number_of_frames);
234 } 234 }
235 235
236 // Deliver captured data to the client in floating point format 236 // Deliver captured data to the client in floating point format
237 // and update the audio-delay measurement. 237 // and update the audio-delay measurement.
238 callback_->Capture(audio_data_, 238 callback_->Capture(audio_data_,
239 number_of_frames, 239 number_of_frames,
240 audio_delay_milliseconds_); 240 audio_delay_milliseconds_);
241 } 241 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698