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

Unified Diff: media/audio/win/audio_low_latency_output_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/win/audio_low_latency_input_win.cc ('k') | media/audio/win/audio_low_latency_output_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_output_win.h
diff --git a/media/audio/win/audio_low_latency_output_win.h b/media/audio/win/audio_low_latency_output_win.h
index 19a5c1917726c64908ff62d6a8ca716d41d7d218..8bee8bfc9897449da33c9e1f54577075326d1c3d 100644
--- a/media/audio/win/audio_low_latency_output_win.h
+++ b/media/audio/win/audio_low_latency_output_win.h
@@ -90,10 +90,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.
// - The public API methods (Open(), Start(), Stop() and Close()) must be
// called on constructing thread. The reason is that we want to ensure that
// the COM environment is the same for all API implementations.
@@ -295,10 +291,6 @@ class MEDIA_EXPORT WASAPIAudioOutputStream
client_channel_count_));
}
- // Initializes the COM library for use by the calling thread and sets the
- // thread's concurrency model to multi-threaded.
- base::win::ScopedCOMInitializer com_init_;
-
// Contains the thread ID of the creating thread.
base::PlatformThreadId creating_thread_id_;
« no previous file with comments | « media/audio/win/audio_low_latency_input_win.cc ('k') | media/audio/win/audio_low_latency_output_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698