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

Unified Diff: media/audio/audio_manager_base.h

Issue 16286010: Removed the IsRecordingInProcess check for speech since it is not needed (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: removed unused error code and relevant resource, cleaned up include Created 7 years, 6 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/audio_manager.h ('k') | media/audio/audio_manager_base.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/audio_manager_base.h
diff --git a/media/audio/audio_manager_base.h b/media/audio/audio_manager_base.h
index 4bc4d38dcb7f41bbd156cf0e9cc3e48daf45fc68..8b34d9fcf94bd9e5b8a08b6b853c2b25cee37c10 100644
--- a/media/audio/audio_manager_base.h
+++ b/media/audio/audio_manager_base.h
@@ -8,7 +8,6 @@
#include <string>
#include <utility>
-#include "base/atomic_ref_count.h"
#include "base/compiler_specific.h"
#include "base/memory/scoped_ptr.h"
#include "base/memory/scoped_vector.h"
@@ -61,15 +60,10 @@ class MEDIA_EXPORT AudioManagerBase : public AudioManager {
const AudioParameters& params,
const std::string& input_device_id) OVERRIDE;
- virtual bool IsRecordingInProcess() OVERRIDE;
-
// Called internally by the audio stream when it has been closed.
virtual void ReleaseOutputStream(AudioOutputStream* stream);
virtual void ReleaseInputStream(AudioInputStream* stream);
- void IncreaseActiveInputStreamCount();
- void DecreaseActiveInputStreamCount();
-
// Creates the output stream for the |AUDIO_PCM_LINEAR| format. The legacy
// name is also from |AUDIO_PCM_LINEAR|.
virtual AudioOutputStream* MakeLinearOutputStream(
@@ -137,10 +131,6 @@ class MEDIA_EXPORT AudioManagerBase : public AudioManager {
// Called by Shutdown().
void ShutdownOnAudioThread();
- // Counts the number of active input streams to find out if something else
- // is currently recording in Chrome.
- base::AtomicRefCount num_active_input_streams_;
-
// Max number of open output streams, modified by
// SetMaxOutputStreamsAllowed().
int max_num_output_streams_;
« no previous file with comments | « media/audio/audio_manager.h ('k') | media/audio/audio_manager_base.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698