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

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

Issue 11338024: Handle audio device changes on Mac (Take 2). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Naming, comment removal. Created 8 years, 2 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/mac/audio_low_latency_output_mac.cc ('k') | media/audio/mac/audio_manager_mac.cc » ('j') | no next file with comments »
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 d655d4b11ed9d54fac49daf85f6dd13de0916fd9..085c67943ac4171bd7ac6957e465230f6c21bdb7 100644
--- a/media/audio/mac/audio_manager_mac.h
+++ b/media/audio/mac/audio_manager_mac.h
@@ -6,6 +6,7 @@
#define MEDIA_AUDIO_MAC_AUDIO_MANAGER_MAC_H_
#include "base/basictypes.h"
+#include "base/callback.h"
#include "base/compiler_specific.h"
#include "media/audio/audio_manager_base.h"
@@ -38,6 +39,9 @@ class MEDIA_EXPORT AudioManagerMac : public AudioManagerBase {
virtual ~AudioManagerMac();
private:
+ // Listens for output device changes.
+ base::Closure listener_cb_;
+
DISALLOW_COPY_AND_ASSIGN(AudioManagerMac);
};
« no previous file with comments | « media/audio/mac/audio_low_latency_output_mac.cc ('k') | media/audio/mac/audio_manager_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698