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

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

Issue 11344005: Handle audio device changes on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: bind to right thread 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
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..cd138cc50518d7ca770f26f489a3457b35f66372 100644
--- a/media/audio/mac/audio_manager_mac.h
+++ b/media/audio/mac/audio_manager_mac.h
@@ -11,6 +11,8 @@
namespace media {
+class AudioDeviceListenerMac;
+
// Mac OS X implementation of the AudioManager singleton. This class is internal
// to the audio output and only internal users can call methods not exposed by
// the AudioManager class.
@@ -38,6 +40,9 @@ class MEDIA_EXPORT AudioManagerMac : public AudioManagerBase {
virtual ~AudioManagerMac();
private:
+ // Listens for output device changes.
+ scoped_ptr<AudioDeviceListenerMac> output_device_listener_;
+
DISALLOW_COPY_AND_ASSIGN(AudioManagerMac);
};

Powered by Google App Engine
This is Rietveld 408576698