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

Unified Diff: content/renderer/media/audio_message_filter.h

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_message_filter.h
diff --git a/content/renderer/media/audio_message_filter.h b/content/renderer/media/audio_message_filter.h
index 54cc3b6bc604369a32dd48419b365023162bf3fd..a132d7432b11dea849367f3ad84d59eef9a0e7c3 100644
--- a/content/renderer/media/audio_message_filter.h
+++ b/content/renderer/media/audio_message_filter.h
@@ -25,15 +25,9 @@ class CONTENT_EXPORT AudioMessageFilter
public:
class CONTENT_EXPORT Delegate {
public:
- // Called when an audio packet is requested from the browser process.
- virtual void OnRequestPacket(AudioBuffersState buffers_state) = 0;
-
// Called when state of an audio stream has changed in the browser process.
virtual void OnStateChanged(AudioStreamState state) = 0;
- // Called when an audio stream has been created in the browser process.
- virtual void OnCreated(base::SharedMemoryHandle handle, uint32 length) = 0;
-
// Called when a low-latency audio stream has been created in the browser
// process.
virtual void OnLowLatencyCreated(base::SharedMemoryHandle handle,
henrika (OOO until Aug 14) 2012/01/29 20:54:00 Remove LowLatency?
vrk (LEFT CHROMIUM) 2012/01/31 23:53:08 Changed to OnStreamCreated, here and elsewhere.
@@ -70,13 +64,6 @@ class CONTENT_EXPORT AudioMessageFilter
virtual void OnFilterRemoved() OVERRIDE;
virtual void OnChannelClosing() OVERRIDE;
- // Received when browser process wants more audio packet.
- void OnRequestPacket(int stream_id, AudioBuffersState buffers_state);
-
- // Received when browser process has created an audio output stream.
- void OnStreamCreated(int stream_id, base::SharedMemoryHandle handle,
- uint32 length);
-
// Received when browser process has created an audio output stream of low
// latency.
void OnLowLatencyStreamCreated(int stream_id, base::SharedMemoryHandle handle,

Powered by Google App Engine
This is Rietveld 408576698