| Index: media/formats/mpeg/mpeg_audio_stream_parser_base.h
|
| diff --git a/media/formats/mpeg/mpeg_audio_stream_parser_base.h b/media/formats/mpeg/mpeg_audio_stream_parser_base.h
|
| index 5975c1bdcee94f6937425a8ddb6a7fee7047a225..81ae4fa39fde0c5b7d60aacbe3d1650a1888774b 100644
|
| --- a/media/formats/mpeg/mpeg_audio_stream_parser_base.h
|
| +++ b/media/formats/mpeg/mpeg_audio_stream_parser_base.h
|
| @@ -23,7 +23,11 @@ class MEDIA_EXPORT MPEGAudioStreamParserBase : public StreamParser {
|
| public:
|
| // |start_code_mask| is used to find the start of each frame header. Also
|
| // referred to as the sync code in the MP3 and ADTS header specifications.
|
| - MPEGAudioStreamParserBase(uint32 start_code_mask, AudioCodec audio_codec);
|
| + // |codec_delay| is the number of samples the decoder will output before the
|
| + // first real frame.
|
| + MPEGAudioStreamParserBase(uint32 start_code_mask,
|
| + AudioCodec audio_codec,
|
| + int codec_delay);
|
| virtual ~MPEGAudioStreamParserBase();
|
|
|
| // StreamParser implementation.
|
| @@ -134,6 +138,7 @@ class MEDIA_EXPORT MPEGAudioStreamParserBase : public StreamParser {
|
| bool in_media_segment_;
|
| const uint32 start_code_mask_;
|
| const AudioCodec audio_codec_;
|
| + const int codec_delay_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(MPEGAudioStreamParserBase);
|
| };
|
|
|