| Index: media/base/audio_renderer_sink.h
|
| ===================================================================
|
| --- media/base/audio_renderer_sink.h (revision 181072)
|
| +++ media/base/audio_renderer_sink.h (working copy)
|
| @@ -41,20 +41,16 @@
|
|
|
| // Sets important information about the audio stream format.
|
| // It must be called before any of the other methods.
|
| + // For clients wishing to have synchronized input and output,
|
| + // |params| may specify |input_channels| > 0, representing a
|
| + // number of input channels which will be at the same sample-rate
|
| + // and buffer-size as the output as specified in |params|.
|
| + // In this case, the callback's RenderIO() method will be called instead
|
| + // of Render(), providing the synchronized input data at the same time as
|
| + // when new output data is to be rendered.
|
| virtual void Initialize(const AudioParameters& params,
|
| RenderCallback* callback) = 0;
|
|
|
| - // InitializeIO() may be called instead of Initialize() for clients who wish
|
| - // to have synchronized input and output. |input_channels| specifies the
|
| - // number of input channels which will be at the same sample-rate
|
| - // and buffer-size as the output as specified in |params|.
|
| - // The callback's RenderIO() method will be called instead of Render(),
|
| - // providing the synchronized input data at the same time as when new
|
| - // output data is to be rendered.
|
| - virtual void InitializeIO(const AudioParameters& params,
|
| - int input_channels,
|
| - RenderCallback* callback) {}
|
| -
|
| // Starts audio playback.
|
| virtual void Start() = 0;
|
|
|
|
|