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

Unified Diff: content/renderer/media/audio_device.cc

Issue 9121062: Remove "high"-latency audio code path (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more to delete! Created 8 years, 11 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/media/audio_device.cc
diff --git a/content/renderer/media/audio_device.cc b/content/renderer/media/audio_device.cc
index 53ee88dd9497cd7dff6dff8e860ec36d04c0f44f..75377940102f0ec7e1ab1ad8aa73c2517ac0b2de 100644
--- a/content/renderer/media/audio_device.cc
+++ b/content/renderer/media/audio_device.cc
@@ -151,7 +151,7 @@ void AudioDevice::InitializeOnIOThread(const AudioParameters& params) {
return;
stream_id_ = filter_->AddDelegate(this);
- Send(new AudioHostMsg_CreateStream(stream_id_, params, true));
+ Send(new AudioHostMsg_CreateStream(stream_id_, params));
}
void AudioDevice::PlayOnIOThread() {
@@ -207,11 +207,6 @@ void AudioDevice::OnStateChanged(AudioStreamState state) {
}
}
-void AudioDevice::OnCreated(
- base::SharedMemoryHandle handle, uint32 length) {
- // Not needed in this simple implementation.
-}
-
void AudioDevice::OnLowLatencyCreated(
base::SharedMemoryHandle handle,
base::SyncSocket::Handle socket_handle,

Powered by Google App Engine
This is Rietveld 408576698