| Index: media/base/android/audio_decoder_job.h
|
| diff --git a/media/base/android/audio_decoder_job.h b/media/base/android/audio_decoder_job.h
|
| index 9bc293dd2f8f614eee99d1032482b490dffa9144..a7680155ef1b9b597043ac4c380e91947db6ed78 100644
|
| --- a/media/base/android/audio_decoder_job.h
|
| +++ b/media/base/android/audio_decoder_job.h
|
| @@ -49,18 +49,24 @@ class AudioDecoderJob : public MediaDecoderJob {
|
| virtual bool AreDemuxerConfigsChanged(
|
| const DemuxerConfigs& configs) const override;
|
| virtual bool CreateMediaCodecBridgeInternal() override;
|
| + virtual bool UpdateOutputFormat() override;
|
|
|
| // Helper method to set the audio output volume.
|
| void SetVolumeInternal();
|
|
|
| + void ResetTimestampHelper();
|
| +
|
| // Audio configs from the demuxer.
|
| AudioCodec audio_codec_;
|
| int num_channels_;
|
| - int sampling_rate_;
|
| + int config_sampling_rate_;
|
| std::vector<uint8> audio_extra_data_;
|
| double volume_;
|
| int bytes_per_frame_;
|
|
|
| + // Audio output format
|
| + int output_sampling_rate_;
|
| +
|
| // Base timestamp for the |audio_timestamp_helper_|.
|
| base::TimeDelta base_timestamp_;
|
|
|
|
|