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

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

Issue 9805001: 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
diff --git a/content/renderer/pepper/pepper_platform_audio_input_impl.cc b/content/renderer/pepper/pepper_platform_audio_input_impl.cc
index 6c42f754d12ae66b437294751a5d2548b52d4a37..3ac06f2b24ac429ff73250fa9d308d813680f678 100644
--- a/content/renderer/pepper/pepper_platform_audio_input_impl.cc
+++ b/content/renderer/pepper/pepper_platform_audio_input_impl.cc
@@ -93,7 +93,7 @@ bool PepperPlatformAudioInputImpl::Initialize(
plugin_delegate_ = plugin_delegate;
client_ = client;
- params_.Reset(AudioParameters::AUDIO_PCM_LINEAR, CHANNEL_LAYOUT_MONO,
+ params_.Reset(media::AudioParameters::AUDIO_PCM_LINEAR, CHANNEL_LAYOUT_MONO,
sample_rate, 16, frames_per_buffer);
if (device_id.empty()) {
@@ -127,7 +127,8 @@ void PepperPlatformAudioInputImpl::InitializeOnIOThread(int session_id) {
if (!session_id) {
// We will be notified by OnStreamCreated().
filter_->Send(new AudioInputHostMsg_CreateStream(
- stream_id_, params_, AudioManagerBase::kDefaultDeviceId, false));
+ stream_id_, params_,
+ media::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