Index: media/audio/mac/audio_auhal_mac.cc |
diff --git a/media/audio/mac/audio_auhal_mac.cc b/media/audio/mac/audio_auhal_mac.cc |
index c9134023924e8b74ecffd7346b304d0dccd64f96..912d15e6639ff19a23f6d896ccf12044516bc752 100644 |
--- a/media/audio/mac/audio_auhal_mac.cc |
+++ b/media/audio/mac/audio_auhal_mac.cc |
@@ -6,6 +6,8 @@ |
#include <CoreServices/CoreServices.h> |
+#include <string> |
+ |
#include "base/bind.h" |
#include "base/bind_helpers.h" |
#include "base/logging.h" |
@@ -261,7 +263,7 @@ void AUHALStream::ProvideInput(int frame_delay, AudioBus* dest) { |
// Supply the input data and render the output data. |
source_->OnMoreData(dest, current_hardware_pending_bytes_ + |
frame_delay * params_.GetBytesPerFrame(), |
- current_lost_frames_); |
+ base::TimeDelta(), current_lost_frames_); |
dest->Scale(volume_); |
current_lost_frames_ = 0; |
} |