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

Unified Diff: content/common/media/audio_messages.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/common/media/audio_messages.h
diff --git a/content/common/media/audio_messages.h b/content/common/media/audio_messages.h
index a13efa5eb527a2fb6d35f4bbe8d692f093afec6c..66cd11be19084f3a58ee0c88315f817b08b6083d 100644
--- a/content/common/media/audio_messages.h
+++ b/content/common/media/audio_messages.h
@@ -36,19 +36,6 @@ IPC_STRUCT_TRAITS_END()
// Messages sent from the browser to the renderer.
-// Sent by AudioRendererHost to renderer to request an audio packet.
-IPC_MESSAGE_CONTROL2(AudioMsg_RequestPacket,
- int /* stream id */,
- AudioBuffersState)
-
-// Tell the renderer process that the audio stream has been created, renderer
-// process would be given a ShareMemoryHandle that it should write to from
-// then on.
-IPC_MESSAGE_CONTROL3(AudioMsg_NotifyStreamCreated,
- int /* stream id */,
- base::SharedMemoryHandle /* handle */,
- uint32 /* length */)
-
// Tell the renderer process that a low latency audio stream has been created,
// renderer process would be given a SyncSocket that it should write to from
// then on.
@@ -109,10 +96,9 @@ IPC_MESSAGE_CONTROL2(AudioInputMsg_NotifyDeviceStarted,
// Messages sent from the renderer to the browser.
// Request that got sent to browser for creating an audio output stream
-IPC_MESSAGE_CONTROL3(AudioHostMsg_CreateStream,
+IPC_MESSAGE_CONTROL2(AudioHostMsg_CreateStream,
int /* stream_id */,
- AudioParameters /* params */,
- bool /* low-latency */)
+ AudioParameters /* params */)
// Request that got sent to browser for creating an audio input stream
IPC_MESSAGE_CONTROL4(AudioInputHostMsg_CreateStream,
@@ -121,12 +107,6 @@ IPC_MESSAGE_CONTROL4(AudioInputHostMsg_CreateStream,
bool /* low-latency */,
std::string /* device_id */)
-// Tell the browser the audio buffer prepared for stream (stream_id) is
-// filled and is ready to be consumed.
-IPC_MESSAGE_CONTROL2(AudioHostMsg_NotifyPacketReady,
- int /* stream_id */,
- uint32 /* packet size */)
-
// Start buffering and play the audio stream specified by stream_id.
IPC_MESSAGE_CONTROL1(AudioHostMsg_PlayStream,
int /* stream_id */)
@@ -151,10 +131,6 @@ IPC_MESSAGE_CONTROL1(AudioHostMsg_CloseStream,
IPC_MESSAGE_CONTROL1(AudioInputHostMsg_CloseStream,
int /* stream_id */)
-// Get audio volume of the stream specified by stream_id.
-IPC_MESSAGE_CONTROL1(AudioHostMsg_GetVolume,
- int /* stream_id */)
-
// Get audio volume of the input stream specified by
// (render_view_id, stream_id).
IPC_MESSAGE_CONTROL1(AudioInputHostMsg_GetVolume,

Powered by Google App Engine
This is Rietveld 408576698