Index: media/audio/mac/audio_manager_mac.cc |
diff --git a/media/audio/mac/audio_manager_mac.cc b/media/audio/mac/audio_manager_mac.cc |
index 970720679abf418b9cd2ef11f49d017d75c60084..eabce32381920bd541e983c607b0e7ab6a4023e1 100644 |
--- a/media/audio/mac/audio_manager_mac.cc |
+++ b/media/audio/mac/audio_manager_mac.cc |
@@ -625,18 +625,7 @@ AudioInputStream* AudioManagerMac::MakeLowLatencyInputStream( |
AudioDeviceID audio_device_id = GetAudioDeviceIdByUId(true, device_id); |
AudioInputStream* stream = NULL; |
if (audio_device_id != kAudioObjectUnknown) { |
- // AUAudioInputStream needs to be fed the preferred audio output parameters |
- // of the matching device so that the buffer size of both input and output |
- // can be matched. See constructor of AUAudioInputStream for more. |
- const std::string associated_output_device( |
- GetAssociatedOutputDeviceID(device_id)); |
- const AudioParameters output_params = |
- GetPreferredOutputStreamParameters( |
- associated_output_device.empty() ? |
- AudioManagerBase::kDefaultDeviceId : associated_output_device, |
- params); |
- stream = new AUAudioInputStream(this, params, output_params, |
- audio_device_id); |
+ stream = new AUAudioInputStream(this, params, audio_device_id); |
input_streams_.push_back(stream); |
} |