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)); |