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

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

Issue 8491044: Link things together and enable the device selection for linux and mac. (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: rebase2 Created 9 years, 1 month 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 3499258c692f50f481f50abaed1f5321bedb2f35..a13efa5eb527a2fb6d35f4bbe8d692f093afec6c 100644
--- a/content/common/media/audio_messages.h
+++ b/content/common/media/audio_messages.h
@@ -5,6 +5,7 @@
// IPC messages for the audio.
// Multiply-included message file, hence no include guard.
+#include "base/basictypes.h"
#include "base/shared_memory.h"
#include "base/sync_socket.h"
#include "content/common/media/audio_stream_state.h"
@@ -103,7 +104,7 @@ IPC_MESSAGE_CONTROL2(AudioInputMsg_NotifyStreamVolume,
IPC_MESSAGE_CONTROL2(AudioInputMsg_NotifyDeviceStarted,
int /* stream id */,
- int /* device_index */)
+ std::string /* device_id */)
// Messages sent from the renderer to the browser.
@@ -114,10 +115,11 @@ IPC_MESSAGE_CONTROL3(AudioHostMsg_CreateStream,
bool /* low-latency */)
// Request that got sent to browser for creating an audio input stream
-IPC_MESSAGE_CONTROL3(AudioInputHostMsg_CreateStream,
+IPC_MESSAGE_CONTROL4(AudioInputHostMsg_CreateStream,
int /* stream_id */,
AudioParameters /* params */,
- bool /* low-latency */)
+ 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.
« no previous file with comments | « content/browser/renderer_host/media/audio_input_renderer_host.cc ('k') | content/renderer/media/audio_input_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698