Chromium Code Reviews| Index: media/base/audio_converter.h |
| diff --git a/media/base/audio_converter.h b/media/base/audio_converter.h |
| index b921a3a186e47c96d52c1a9090384d6c69d476dc..6d441ce4f4ee333f4e1391f90720ef66a8a26e03 100644 |
| --- a/media/base/audio_converter.h |
| +++ b/media/base/audio_converter.h |
| @@ -90,6 +90,9 @@ class MEDIA_EXPORT AudioConverter { |
| // to each input's ProvideInput for more data. |
| int ChunkSize() const; |
| + // How many frames will be requested via a single ProvideInput() call. |
|
DaleCurtis
2014/03/20 19:29:01
You should be able to calculate this within your c
rileya (GONE FROM CHROMIUM)
2014/03/21 20:58:49
Good point, I'd previously disabled the fifo, but
|
| + int RequestSize() const; |
| + |
| private: |
| // Provides input to the MultiChannelResampler. Called by the resampler when |
| // more data is necessary. |
| @@ -137,6 +140,8 @@ class MEDIA_EXPORT AudioConverter { |
| // AudioBus structures on demand in response to varying frame size requests. |
| const int input_channel_count_; |
| + const double io_sample_rate_ratio_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(AudioConverter); |
| }; |