| Index: media/audio/simple_sources.cc
|
| diff --git a/media/audio/simple_sources.cc b/media/audio/simple_sources.cc
|
| index b75b96d9ea2933969f1296506c7a202ac641d6dc..4ded6bd40dd90f682de4e5447638bdb6ef9f2aaf 100644
|
| --- a/media/audio/simple_sources.cc
|
| +++ b/media/audio/simple_sources.cc
|
| @@ -110,8 +110,7 @@
|
| // The implementation could be more efficient if a lookup table is constructed
|
| // but it is efficient enough for our simple needs.
|
| int SineWaveAudioSource::OnMoreData(AudioBus* audio_bus,
|
| - uint32_t total_bytes_delay,
|
| - uint32_t frames_skipped) {
|
| + uint32 total_bytes_delay) {
|
| base::AutoLock auto_lock(time_lock_);
|
| callbacks_++;
|
|
|
| @@ -194,9 +193,7 @@
|
| file_audio_converter_->AddInput(this);
|
| }
|
|
|
| -int FileSource::OnMoreData(AudioBus* audio_bus,
|
| - uint32_t total_bytes_delay,
|
| - uint32_t frames_skipped) {
|
| +int FileSource::OnMoreData(AudioBus* audio_bus, uint32 total_bytes_delay) {
|
| // Load the file if we haven't already. This load needs to happen on the
|
| // audio thread, otherwise we'll run on the UI thread on Mac for instance.
|
| // This will massively delay the first OnMoreData, but we'll catch up.
|
| @@ -245,9 +242,7 @@
|
| BeepingSource::~BeepingSource() {
|
| }
|
|
|
| -int BeepingSource::OnMoreData(AudioBus* audio_bus,
|
| - uint32_t total_bytes_delay,
|
| - uint32_t frames_skipped) {
|
| +int BeepingSource::OnMoreData(AudioBus* audio_bus, uint32 total_bytes_delay) {
|
| // Accumulate the time from the last beep.
|
| interval_from_last_beep_ += base::TimeTicks::Now() - last_callback_time_;
|
|
|
|
|