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

Unified Diff: content/renderer/pepper/pepper_platform_audio_input_impl.cc

Issue 9965076: Revert 130180 - Move media/audio files into media namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: content/renderer/pepper/pepper_platform_audio_input_impl.cc
===================================================================
--- content/renderer/pepper/pepper_platform_audio_input_impl.cc (revision 130181)
+++ content/renderer/pepper/pepper_platform_audio_input_impl.cc (working copy)
@@ -93,7 +93,7 @@
plugin_delegate_ = plugin_delegate;
client_ = client;
- params_.Reset(media::AudioParameters::AUDIO_PCM_LINEAR, CHANNEL_LAYOUT_MONO,
+ params_.Reset(AudioParameters::AUDIO_PCM_LINEAR, CHANNEL_LAYOUT_MONO,
sample_rate, 16, frames_per_buffer);
if (device_id.empty()) {
@@ -127,8 +127,7 @@
if (!session_id) {
// We will be notified by OnStreamCreated().
filter_->Send(new AudioInputHostMsg_CreateStream(
- stream_id_, params_,
- media::AudioManagerBase::kDefaultDeviceId, false));
+ stream_id_, params_, AudioManagerBase::kDefaultDeviceId, false));
} else {
// We will be notified by OnDeviceReady().
filter_->Send(new AudioInputHostMsg_StartDevice(stream_id_, session_id));

Powered by Google App Engine
This is Rietveld 408576698