Chromium Code Reviews| Index: media/base/multi_channel_resampler.h |
| diff --git a/media/base/multi_channel_resampler.h b/media/base/multi_channel_resampler.h |
| index 6d65075241df18d052a59158c850f843c6bbcbf8..6c2c2d8d3b21a69585db67defb53c928c25bc42f 100644 |
| --- a/media/base/multi_channel_resampler.h |
| +++ b/media/base/multi_channel_resampler.h |
| @@ -34,7 +34,12 @@ class MEDIA_EXPORT MultiChannelResampler { |
| // Resamples |frames| of data from |read_cb_| into AudioBus. |
| void Resample(AudioBus* audio_bus, int frames); |
| + // Flush all buffered data and reset internal indexes. |
|
scherkus (not reviewing)
2012/09/07 13:30:17
s/indexes/indicies/
$ git grep -i "indexes" . | w
DaleCurtis
2012/09/10 12:06:24
Done.
|
| + void Flush(); |
| + |
| private: |
| + friend class MultiChannelResamplerTest; |
|
scherkus (not reviewing)
2012/09/07 13:30:17
hrmm.. friend only for last_frame_count_?
I'd eit
DaleCurtis
2012/09/10 12:06:24
Removed.
|
| + |
| // SincResampler::ReadCB implementation. ProvideInput() will be called for |
| // each channel (in channel order) as SincResampler needs more data. |
| void ProvideInput(int channel, float* destination, int frames); |