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

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
« no previous file with comments | « media/audio/audio_input_device_unittest.cc ('k') | media/audio/audio_manager_base.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_name.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;
+ // Appends 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.
+ virtual void GetAudioInputDeviceNames(
+ media::AudioDeviceNames* device_names) = 0;
+
// Factory for all the supported stream formats. |params| defines parameters
// of the audio stream to be created.
//
« no previous file with comments | « media/audio/audio_input_device_unittest.cc ('k') | media/audio/audio_manager_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698