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

Unified Diff: media/audio/win/wavein_input_win.cc

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/mock_audio_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/audio/win/wavein_input_win.cc
diff --git a/media/audio/win/wavein_input_win.cc b/media/audio/win/wavein_input_win.cc
index e561ab4a5005bde874007459d37f15ced4974620..3c4147738df846928677b4e7c91bfb936142b3bc 100644
--- a/media/audio/win/wavein_input_win.cc
+++ b/media/audio/win/wavein_input_win.cc
@@ -133,8 +133,6 @@ void PCMWaveInAudioInputStream::Start(AudioInputCallback* callback) {
HandleError(result);
state_ = kStateReady;
callback_ = NULL;
- } else {
- manager_->IncreaseActiveInputStreamCount();
}
}
@@ -170,7 +168,6 @@ void PCMWaveInAudioInputStream::Stop() {
DCHECK_EQ(res, static_cast<MMRESULT>(MMSYSERR_NOERROR));
state_ = kStateReady;
- manager_->DecreaseActiveInputStreamCount();
}
void PCMWaveInAudioInputStream::Close() {
« no previous file with comments | « media/audio/mock_audio_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698