Chromium Code Reviews| Index: media/base/audio_decoder_config.h |
| diff --git a/media/base/audio_decoder_config.h b/media/base/audio_decoder_config.h |
| index a0e262f005d3343279ac3e5fa137549d4a203db8..1a9c95797d7c5457575d513510cf0c268ac45010 100644 |
| --- a/media/base/audio_decoder_config.h |
| +++ b/media/base/audio_decoder_config.h |
| @@ -111,6 +111,9 @@ class MEDIA_EXPORT AudioDecoderConfig { |
| // can be encrypted or not encrypted. |
| bool is_encrypted() const { return is_encrypted_; } |
| + // Modifies sampling rate. Used by decoders based on Android MediaCodec. |
| + void set_samples_per_second(int value) { samples_per_second_ = value; } |
|
xhwang
2016/02/08 20:03:34
Please see Dales' comment on this.
Tima Vaisburd
2016/02/11 20:23:22
Removed.
|
| + |
| private: |
| AudioCodec codec_; |
| SampleFormat sample_format_; |