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

Unified Diff: content/common/media/audio_messages.h

Issue 12440027: Do not pass the string device_id via IPC message to create an audio input stream (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressed Per's comments. Created 7 years, 9 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/browser/renderer_host/media/media_stream_manager.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/media/audio_messages.h
diff --git a/content/common/media/audio_messages.h b/content/common/media/audio_messages.h
index 35dabf956950e1b5bca665873974981b04048104..63b81e412844d41e09a626ddb609260f417d6bd6 100644
--- a/content/common/media/audio_messages.h
+++ b/content/common/media/audio_messages.h
@@ -5,8 +5,6 @@
// IPC messages for the audio.
// Multiply-included message file, hence no include guard.
-#include <string>
-
#include "base/basictypes.h"
#include "base/shared_memory.h"
#include "base/sync_socket.h"
@@ -87,10 +85,6 @@ IPC_MESSAGE_CONTROL2(AudioInputMsg_NotifyStreamVolume,
int /* stream id */,
double /* volume */)
-IPC_MESSAGE_CONTROL2(AudioInputMsg_NotifyDeviceStarted,
- int /* stream id */,
- std::string /* device_id */)
-
// Messages sent from the renderer to the browser.
// Request that got sent to browser for creating an audio output stream
@@ -101,8 +95,8 @@ IPC_MESSAGE_CONTROL2(AudioHostMsg_CreateStream,
// Request that got sent to browser for creating an audio input stream
IPC_MESSAGE_CONTROL5(AudioInputHostMsg_CreateStream,
int /* stream_id */,
+ int /* session_id */,
media::AudioParameters /* params */,
- std::string /* device_id */,
bool /* automatic_gain_control */,
uint32 /* shared memory count */)
@@ -150,9 +144,3 @@ IPC_MESSAGE_CONTROL2(AudioHostMsg_SetVolume,
IPC_MESSAGE_CONTROL2(AudioInputHostMsg_SetVolume,
int /* stream_id */,
double /* volume */)
-
-// Start the device referenced by the session_id for the input stream specified
-// by stream_id.
-IPC_MESSAGE_CONTROL2(AudioInputHostMsg_StartDevice,
- int /* stream_id */,
- int /* session_id */)
« no previous file with comments | « content/browser/renderer_host/media/media_stream_manager.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698