| Index: media/audio/simple_sources.h
|
| diff --git a/media/audio/simple_sources.h b/media/audio/simple_sources.h
|
| index bd5797d814bf132b002f54bba94c67315bff5425..36342cb3f8354e50e654362c4364e1e7adcb5efb 100644
|
| --- a/media/audio/simple_sources.h
|
| +++ b/media/audio/simple_sources.h
|
| @@ -11,6 +11,7 @@
|
|
|
| #include "base/files/file_path.h"
|
| #include "base/synchronization/lock.h"
|
| +#include "base/time/time.h"
|
| #include "media/audio/audio_io.h"
|
| #include "media/base/audio_converter.h"
|
| #include "media/base/seekable_buffer.h"
|
| @@ -37,6 +38,7 @@ class MEDIA_EXPORT SineWaveAudioSource
|
| // Implementation of AudioSourceCallback.
|
| int OnMoreData(AudioBus* audio_bus,
|
| uint32_t total_bytes_delay,
|
| + base::TimeDelta delay_timestamp,
|
| uint32_t frames_skipped) override;
|
| void OnError(AudioOutputStream* stream) override;
|
|
|
| @@ -65,6 +67,7 @@ class MEDIA_EXPORT FileSource : public AudioOutputStream::AudioSourceCallback,
|
| // Implementation of AudioSourceCallback.
|
| int OnMoreData(AudioBus* audio_bus,
|
| uint32_t total_bytes_delay,
|
| + base::TimeDelta delay_timestamp,
|
| uint32_t frames_skipped) override;
|
| void OnError(AudioOutputStream* stream) override;
|
|
|
| @@ -95,12 +98,13 @@ class MEDIA_EXPORT FileSource : public AudioOutputStream::AudioSourceCallback,
|
|
|
| class BeepingSource : public AudioOutputStream::AudioSourceCallback {
|
| public:
|
| - BeepingSource(const AudioParameters& params);
|
| + explicit BeepingSource(const AudioParameters& params);
|
| ~BeepingSource() override;
|
|
|
| // Implementation of AudioSourceCallback.
|
| int OnMoreData(AudioBus* audio_bus,
|
| uint32_t total_bytes_delay,
|
| + base::TimeDelta delay_timestamp,
|
| uint32_t frames_skipped) override;
|
| void OnError(AudioOutputStream* stream) override;
|
|
|
|
|