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

Unified Diff: media/audio/mac/audio_manager_mac.h

Issue 154543002: Cleanup AudioManager initialization on OSX to reduce startup delay. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rework. Created 6 years, 10 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 | « no previous file | media/audio/mac/audio_manager_mac.cc » ('j') | media/audio/mac/audio_manager_mac.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/mac/audio_manager_mac.h
diff --git a/media/audio/mac/audio_manager_mac.h b/media/audio/mac/audio_manager_mac.h
index 641f9d313f29cbde0d172d3283479c0c6cbe0bbc..945c47bc6fe0745f8baf3c48505913d1c9c776dc 100644
--- a/media/audio/mac/audio_manager_mac.h
+++ b/media/audio/mac/audio_manager_mac.h
@@ -81,10 +81,8 @@ class MEDIA_EXPORT AudioManagerMac : public AudioManagerBase {
private:
bool HasUnifiedDefaultIO();
-
- // Helper methods for constructing AudioDeviceListenerMac on the audio thread.
- void CreateDeviceListener();
- void DestroyDeviceListener();
+ void InitializeOnAudioThread();
+ void ShutdownOnAudioThread();
int ChooseBufferSize(int output_sample_rate);
« no previous file with comments | « no previous file | media/audio/mac/audio_manager_mac.cc » ('j') | media/audio/mac/audio_manager_mac.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698