Index: content/renderer/pepper_plugin_delegate_impl.cc |
diff --git a/content/renderer/pepper_plugin_delegate_impl.cc b/content/renderer/pepper_plugin_delegate_impl.cc |
index b736ef5dbf6fe8d18226f784706503fda330414b..23d446cdf5a472b2eaa3429e462aa01e9d01c15b 100644 |
--- a/content/renderer/pepper_plugin_delegate_impl.cc |
+++ b/content/renderer/pepper_plugin_delegate_impl.cc |
@@ -207,9 +207,9 @@ class PlatformAudioImpl |
LOG(FATAL) << "Should never get OnCreated in PlatformAudioImpl"; |
} |
- virtual void OnLowLatencyCreated(base::SharedMemoryHandle handle, |
- base::SyncSocket::Handle socket_handle, |
- uint32 length) OVERRIDE; |
+ virtual void OnStreamCreated(base::SharedMemoryHandle handle, |
+ base::SyncSocket::Handle socket_handle, |
+ uint32 length) OVERRIDE; |
virtual void OnVolume(double volume) OVERRIDE {} |
@@ -284,7 +284,7 @@ void PlatformAudioImpl::ShutDown() { |
void PlatformAudioImpl::InitializeOnIOThread(const AudioParameters& params) { |
stream_id_ = filter_->AddDelegate(this); |
- filter_->Send(new AudioHostMsg_CreateStream(stream_id_, params, true)); |
+ filter_->Send(new AudioHostMsg_CreateStream(stream_id_, params)); |
} |
void PlatformAudioImpl::StartPlaybackOnIOThread() { |
@@ -310,7 +310,7 @@ void PlatformAudioImpl::ShutDownOnIOThread() { |
// PepperPluginDelegateImpl::CreateAudio. |
} |
-void PlatformAudioImpl::OnLowLatencyCreated( |
+void PlatformAudioImpl::OnStreamCreated( |
base::SharedMemoryHandle handle, base::SyncSocket::Handle socket_handle, |
uint32 length) { |
#if defined(OS_WIN) |
@@ -329,7 +329,7 @@ void PlatformAudioImpl::OnLowLatencyCreated( |
client_->StreamCreated(handle, length, socket_handle); |
} else { |
main_message_loop_proxy_->PostTask(FROM_HERE, |
- base::Bind(&PlatformAudioImpl::OnLowLatencyCreated, this, handle, |
+ base::Bind(&PlatformAudioImpl::OnStreamCreated, this, handle, |
socket_handle, length)); |
} |
} |