| Index: media/audio/audio_io.h
|
| diff --git a/media/audio/audio_io.h b/media/audio/audio_io.h
|
| index 1e1eba420b14aa049bacbf91a9841ec452e1c6ed..105e32eb362b7dd8caccd40bc8037f74705ddf40 100644
|
| --- a/media/audio/audio_io.h
|
| +++ b/media/audio/audio_io.h
|
| @@ -6,7 +6,6 @@
|
| #define MEDIA_AUDIO_AUDIO_IO_H_
|
|
|
| #include "base/basictypes.h"
|
| -#include "media/audio/audio_buffers_state.h"
|
| #include "media/base/audio_bus.h"
|
|
|
| // Low-level audio output support. To make sound there are 3 objects involved:
|
| @@ -58,10 +57,9 @@ class MEDIA_EXPORT AudioOutputStream {
|
| class MEDIA_EXPORT AudioSourceCallback {
|
| public:
|
| // Provide more data by fully filling |dest|. The source will return
|
| - // the number of frames it filled. |buffers_state| contains current state
|
| - // of the buffers, and can be used by the source to calculate delay.
|
| - virtual int OnMoreData(AudioBus* dest,
|
| - AudioBuffersState buffers_state) = 0;
|
| + // the number of frames it filled. |total_bytes_delay| contains current
|
| + // number of bytes of delay buffered by the AudioOutputStream.
|
| + virtual int OnMoreData(AudioBus* dest, uint32 total_bytes_delay) = 0;
|
|
|
| // There was an error while playing a buffer. Audio source cannot be
|
| // destroyed yet. No direct action needed by the AudioStream, but it is
|
|
|