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

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: 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
Index: media/audio/audio_manager_base.h
diff --git a/media/audio/audio_manager_base.h b/media/audio/audio_manager_base.h
index d2662537bb01d9d2a7d965c5221b70e33728c097..55b72853c75043c23e5a04e183b0bc1e5e37504f 100644
--- a/media/audio/audio_manager_base.h
+++ b/media/audio/audio_manager_base.h
@@ -60,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(
@@ -136,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_;

Powered by Google App Engine
This is Rietveld 408576698