Index: media/audio/mac/audio_input_mac.cc |
diff --git a/media/audio/mac/audio_input_mac.cc b/media/audio/mac/audio_input_mac.cc |
index 514b0215f15d0f979c3f8f1739e3d0aa65565078..c2a3696230683f7a24f336691b16698bd4735ab3 100644 |
--- a/media/audio/mac/audio_input_mac.cc |
+++ b/media/audio/mac/audio_input_mac.cc |
@@ -73,7 +73,6 @@ void PCMQueueInAudioInputStream::Start(AudioInputCallback* callback) { |
HandleError(err); |
} else { |
started_ = true; |
- manager_->IncreaseActiveInputStreamCount(); |
} |
} |
@@ -81,10 +80,6 @@ void PCMQueueInAudioInputStream::Stop() { |
if (!audio_queue_ || !started_) |
return; |
- // Stop is always called before Close. In case of error, this will be |
- // also called when closing the input controller. |
- manager_->DecreaseActiveInputStreamCount(); |
- |
// We request a synchronous stop, so the next call can take some time. In |
// the windows implementation we block here as well. |
OSStatus err = AudioQueueStop(audio_queue_, true); |