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

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

Issue 5350003: Move audio output number limit to AudioManager. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fixed compilation on mac. Created 10 years, 1 month 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 31f6de2161e23d7d336bfa9833da728fde0501a8..2929688ef4f39283c381a8a0eed288c929022564 100644
--- a/media/audio/mac/audio_manager_mac.h
+++ b/media/audio/mac/audio_manager_mac.h
@@ -16,7 +16,7 @@ class PCMQueueOutAudioOutputStream;
// the AudioManager class.
class AudioManagerMac : public AudioManagerBase {
public:
- AudioManagerMac() {};
+ AudioManagerMac();
// Implementation of AudioManager.
virtual bool HasAudioOutputDevices();
@@ -33,8 +33,14 @@ class AudioManagerMac : public AudioManagerBase {
void ReleaseInputStream(PCMQueueInAudioInputStream* stream);
private:
- friend void DestroyAudioManagerMac(void*);
virtual ~AudioManagerMac() {};
scherkus (not reviewing) 2010/11/29 22:42:13 nit: can you move this impl to .cc file?
Sergey Ulanov 2010/11/29 22:58:12 Done.
+
+ // Number of currently open output streams.
+ int num_output_streams_;
+
+ // Maximum allowed number of open output streams.
+ int max_output_streams_;
+
DISALLOW_COPY_AND_ASSIGN(AudioManagerMac);
};

Powered by Google App Engine
This is Rietveld 408576698