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 594e5351092b4c2b82c0e1c174da5b6497a6f5eb..ba944f024d52f4c91920648e2929a298a3f207e8 100644 |
--- a/media/audio/win/audio_manager_win.h |
+++ b/media/audio/win/audio_manager_win.h |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -62,6 +62,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); |
+ |
// Number of currently open output streams. |
int num_output_streams_; |