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

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

Issue 10909271: Adds COM init to AudioManager thread for Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed Stop() call in ctor Created 8 years, 3 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_manager_base.cc ('k') | media/audio/win/audio_low_latency_input_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/win/audio_low_latency_input_win.h
diff --git a/media/audio/win/audio_low_latency_input_win.h b/media/audio/win/audio_low_latency_input_win.h
index 049406409f41440f713482d41d06b6acee22893a..e83fc9268af1d1979a56ef4cc81e1a0ca41bf7cd 100644
--- a/media/audio/win/audio_low_latency_input_win.h
+++ b/media/audio/win/audio_low_latency_input_win.h
@@ -35,10 +35,6 @@
//
// Core Audio API details:
//
-// - CoInitializeEx() is called on the creating thread and on the internal
-// capture thread. Each thread's concurrency model and apartment is set
-// to multi-threaded (MTA). CHECK() is called to ensure that we crash if
-// CoInitializeEx(MTA) fails.
// - Utilized MMDevice interfaces:
// o IMMDeviceEnumerator
// o IMMDevice
@@ -134,10 +130,6 @@ class MEDIA_EXPORT WASAPIAudioInputStream
static HRESULT GetMixFormat(const std::string& device_id,
WAVEFORMATEX** device_format);
- // Initializes the COM library for use by the calling thread and set the
- // thread's concurrency model to multi-threaded.
- base::win::ScopedCOMInitializer com_init_;
-
// Our creator, the audio manager needs to be notified when we close.
AudioManagerWin* manager_;
« no previous file with comments | « media/audio/audio_manager_base.cc ('k') | media/audio/win/audio_low_latency_input_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698