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

Unified Diff: media/audio/win/audio_manager_win.h

Issue 9566002: On windows, create PCMWaveInAudioInputStream instance with correct device ID. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add test. Created 8 years, 9 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/win/audio_manager_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/win/audio_manager_win.h
diff --git a/media/audio/win/audio_manager_win.h b/media/audio/win/audio_manager_win.h
index 3539ef02499d18f08aa19b54908ab4455e7dafec..19742fb6d49950effbea96af8bc9f8eec640b792 100644
--- a/media/audio/win/audio_manager_win.h
+++ b/media/audio/win/audio_manager_win.h
@@ -59,6 +59,15 @@ class MEDIA_EXPORT AudioManagerWin : public AudioManagerBase {
enumeration_type_ = type;
}
+ // Returns a PCMWaveInAudioInputStream instance or NULL on failure.
+ // This method converts MMDevice-style device ID to WaveIn-style device ID if
+ // necessary.
+ // (Please see device_enumeration_win.h for more info about the two kinds of
+ // device IDs.)
+ AudioInputStream* CreatePCMWaveInAudioInputStream(
+ const AudioParameters& params,
+ const std::string& device_id);
+
DISALLOW_COPY_AND_ASSIGN(AudioManagerWin);
};
« no previous file with comments | « media/audio/audio_input_device_unittest.cc ('k') | media/audio/win/audio_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698