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

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: Rebase ToT yet again 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
« no previous file with comments | « content/renderer/media/audio_device.cc ('k') | content/renderer/media/audio_message_filter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..e8b408fd597df3d4615b21913acfbb91568456df 100644
--- a/content/renderer/media/audio_message_filter.h
+++ b/content/renderer/media/audio_message_filter.h
@@ -25,24 +25,13 @@ 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,
- base::SyncSocket::Handle socket_handle,
- uint32 length) = 0;
-
- // Called when notification of stream volume is received from the browser
- // process.
- virtual void OnVolume(double volume) = 0;
+ virtual void OnStreamCreated(base::SharedMemoryHandle handle,
+ base::SyncSocket::Handle socket_handle,
+ uint32 length) = 0;
protected:
virtual ~Delegate() {}
@@ -70,22 +59,14 @@ 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,
#if defined(OS_WIN)
- base::SyncSocket::Handle socket_handle,
+ base::SyncSocket::Handle socket_handle,
#else
- base::FileDescriptor socket_descriptor,
+ base::FileDescriptor socket_descriptor,
#endif
- uint32 length);
+ uint32 length);
// Received when internal state of browser process' audio output device has
« no previous file with comments | « content/renderer/media/audio_device.cc ('k') | content/renderer/media/audio_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698