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

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

Issue 2646423005: Remove the wave based audio capture implementation for Windows (Closed)
Patch Set: Minor cleanup + documentation Created 3 years, 11 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/win/audio_device_listener_win.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 5a5395c37c7b85a407286d8f08e612d7c40f47f1..c315c812546523d44063304517fa81d8efc8993b 100644
--- a/media/audio/win/audio_manager_win.h
+++ b/media/audio/win/audio_manager_win.h
@@ -64,33 +64,9 @@ class MEDIA_EXPORT AudioManagerWin : public AudioManagerBase {
const AudioParameters& input_params) override;
private:
- enum EnumerationType {
- kMMDeviceEnumeration,
- kWaveEnumeration,
- };
-
// Allow unit test to modify the utilized enumeration API.
friend class AudioManagerTest;
- EnumerationType enumeration_type_;
- EnumerationType enumeration_type() { return enumeration_type_; }
- void SetEnumerationType(EnumerationType type) {
- enumeration_type_ = type;
- }
-
- inline bool core_audio_supported() const {
- return enumeration_type_ == kMMDeviceEnumeration;
- }
-
- // 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);
-
// Helper methods for performing expensive initialization tasks on the audio
// thread instead of on the UI thread which AudioManager is constructed on.
void InitializeOnAudioThread();
« no previous file with comments | « media/audio/win/audio_device_listener_win.cc ('k') | media/audio/win/audio_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698