diff options
Diffstat (limited to 'media/base/audio_renderer_sink.h')
| -rw-r--r-- | media/base/audio_renderer_sink.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/media/base/audio_renderer_sink.h b/media/base/audio_renderer_sink.h index 30cbfef..b45c0fc 100644 --- a/media/base/audio_renderer_sink.h +++ b/media/base/audio_renderer_sink.h @@ -35,8 +35,11 @@ class AudioRendererSink class RenderCallback { public: // Attempts to completely fill all channels of |dest|, returns actual - // number of frames filled. - virtual int Render(AudioBus* dest, int audio_delay_milliseconds) = 0; + // number of frames filled. |frames_skipped| contains the number of frames + // the consumer has skipped, if any. + virtual int Render(AudioBus* dest, + uint32_t audio_delay_milliseconds, + uint32_t frames_skipped) = 0; // Signals an error has occurred. virtual void OnRenderError() = 0; |
