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

Unified Diff: content/renderer/media/audio_input_device.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
« no previous file with comments | « content/common/media/audio_messages.h ('k') | content/renderer/media/audio_input_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/audio_input_device.h
diff --git a/content/renderer/media/audio_input_device.h b/content/renderer/media/audio_input_device.h
index 4f260617637131f57afa97fca843a43a4f5c9d86..88e77994d30c40667112a4fe3fd45f06fc388159 100644
--- a/content/renderer/media/audio_input_device.h
+++ b/content/renderer/media/audio_input_device.h
@@ -100,9 +100,10 @@ class CONTENT_EXPORT AudioInputDevice
class CONTENT_EXPORT CaptureEventHandler {
public:
- // Notification to the client that the device with the specific index has
- // been started. This callback is triggered as a result of StartDevice().
- virtual void OnDeviceStarted(int device_index) = 0;
+ // Notification to the client that the device with the specific |device_id|
+ // has been started.
+ // This callback is triggered as a result of StartDevice().
+ virtual void OnDeviceStarted(const std::string& device_id) = 0;
// Notification to the client that the device has been stopped.
virtual void OnDeviceStopped() = 0;
@@ -148,10 +149,10 @@ class CONTENT_EXPORT AudioInputDevice
// AudioInputMessageFilter::Delegate impl., called by AudioInputMessageFilter
virtual void OnLowLatencyCreated(base::SharedMemoryHandle handle,
base::SyncSocket::Handle socket_handle,
- uint32 length) OVERRIDE;
- virtual void OnVolume(double volume) OVERRIDE;
- virtual void OnStateChanged(AudioStreamState state) OVERRIDE;
- virtual void OnDeviceReady(int index) OVERRIDE;
+ uint32 length);
+ virtual void OnVolume(double volume);
+ virtual void OnStateChanged(AudioStreamState state);
+ virtual void OnDeviceReady(const std::string& device_id);
private:
// Methods called on IO thread ----------------------------------------------
« no previous file with comments | « content/common/media/audio_messages.h ('k') | content/renderer/media/audio_input_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698