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

Unified Diff: media/audio/audio_manager.h

Issue 7060011: Adding GetAudioInputDeviceNames to AudioManager, this function is supposed to do device enumerati... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 9 years, 7 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: media/audio/audio_manager.h
===================================================================
--- media/audio/audio_manager.h (revision 86276)
+++ media/audio/audio_manager.h (working copy)
@@ -8,6 +8,7 @@
#include "base/basictypes.h"
#include "base/string16.h"
#include "base/task.h"
+#include "media/audio/audio_device_types.h"
#include "media/audio/audio_parameters.h"
class AudioInputStream;
@@ -45,6 +46,12 @@
// threads to avoid blocking the rest of the application.
virtual void ShowAudioInputSettings() = 0;
+ // Returns a list of available input devices. It is not guaranteed that
+ // all the devices in the list support all formats and sample rates for
+ // recording.
awong 2011/05/23 17:36:15 Change to say "Appends a list of available input d
xians 2011/05/23 20:15:59 Done.
+ virtual void GetAudioInputDeviceNames(
+ AudioInputDeviceNames* device_names) = 0;
+
// Factory for all the supported stream formats. |params| defines parameters
// of the audio stream to be created.
//

Powered by Google App Engine
This is Rietveld 408576698