Index: media/base/audio_decoder_config.h |
diff --git a/media/base/audio_decoder_config.h b/media/base/audio_decoder_config.h |
index 1c61e70c3adba554c50a83d8f63e6f4208fc0296..c689ff16e79f07f06f92124fbab8baa14a3fe59b 100644 |
--- a/media/base/audio_decoder_config.h |
+++ b/media/base/audio_decoder_config.h |
@@ -80,6 +80,12 @@ class MEDIA_EXPORT AudioDecoderConfig { |
int samples_per_second() const { return samples_per_second_; } |
SampleFormat sample_format() const { return sample_format_; } |
int bytes_per_frame() const { return bytes_per_frame_; } |
+ int64 seek_pre_roll() const { return seek_pre_roll_; } |
+ void set_seek_pre_roll(int64 seek_pre_roll) { |
+ seek_pre_roll_ = seek_pre_roll; |
+ } |
+ int64 codec_delay() const { return codec_delay_; } |
+ void set_codec_delay(int64 codec_delay) { codec_delay_ = codec_delay; } |
// Optional byte data required to initialize audio decoders such as Vorbis |
// codebooks. |
@@ -102,6 +108,8 @@ class MEDIA_EXPORT AudioDecoderConfig { |
int bytes_per_frame_; |
std::vector<uint8> extra_data_; |
bool is_encrypted_; |
+ int64 seek_pre_roll_; |
+ int64 codec_delay_; |
fgalligan1
2013/08/26 21:10:06
I think you need to add comments about what these
vignesh
2013/08/26 21:44:23
Done.
|
// Not using DISALLOW_COPY_AND_ASSIGN here intentionally to allow the compiler |
// generated copy constructor and assignment operator. Since the extra data is |