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

Unified Diff: content/browser/renderer_host/media/audio_input_device_manager.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: update 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/browser/renderer_host/media/audio_input_device_manager.h
diff --git a/content/browser/renderer_host/media/audio_input_device_manager.h b/content/browser/renderer_host/media/audio_input_device_manager.h
index 342e1c08337ed951a403f68fd0d92bd14e72f95e..3575eaab616e6d058061adf978a77e611ba8015a 100644
--- a/content/browser/renderer_host/media/audio_input_device_manager.h
+++ b/content/browser/renderer_host/media/audio_input_device_manager.h
@@ -31,9 +31,9 @@ class CONTENT_EXPORT AudioInputDeviceManager : public MediaStreamProvider {
// even though Open() has not been called. This is used to be able to use the
// AudioInputDeviceManager before MediaStream is implemented.
static const int kFakeOpenSessionId;
+
static const int kInvalidSessionId;
- static const int kInvalidDevice;
- static const int kDefaultDeviceIndex;
+ static const char kInvalidDeviceId[];
AudioInputDeviceManager();
virtual ~AudioInputDeviceManager();
@@ -70,7 +70,7 @@ class CONTENT_EXPORT AudioInputDeviceManager : public MediaStreamProvider {
void ErrorOnIOThread(int session_id, MediaStreamProviderError error);
// Executed on IO thread to call the event handler.
- void StartedOnIOThread(int session_id, int index);
+ void StartedOnIOThread(int session_id, const std::string& device_id);
void StoppedOnIOThread(int session_id);
// Executed on audio_input_device_thread_ to make sure

Powered by Google App Engine
This is Rietveld 408576698