OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef MEDIA_FORMATS_MPEG_MPEG1_AUDIO_STREAM_PARSER_H_ | 5 #ifndef MEDIA_FORMATS_MPEG_MPEG1_AUDIO_STREAM_PARSER_H_ |
6 #define MEDIA_FORMATS_MPEG_MPEG1_AUDIO_STREAM_PARSER_H_ | 6 #define MEDIA_FORMATS_MPEG_MPEG1_AUDIO_STREAM_PARSER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "media/base/media_export.h" | 9 #include "media/base/media_export.h" |
9 #include "media/formats/mpeg/mpeg_audio_stream_parser_base.h" | 10 #include "media/formats/mpeg/mpeg_audio_stream_parser_base.h" |
10 | 11 |
11 namespace media { | 12 namespace media { |
12 | 13 |
13 // MPEG1AudioStreamParser handles MPEG-1 audio streams (ISO/IEC 11172-3) | 14 // MPEG1AudioStreamParser handles MPEG-1 audio streams (ISO/IEC 11172-3) |
14 // as well as the following extensions: | 15 // as well as the following extensions: |
15 // - MPEG-2 audio (ISO/IEC 13818-3), | 16 // - MPEG-2 audio (ISO/IEC 13818-3), |
16 // - and MPEG2.5 (not an ISO standard). | 17 // - and MPEG2.5 (not an ISO standard). |
17 class MEDIA_EXPORT MPEG1AudioStreamParser : public MPEGAudioStreamParserBase { | 18 class MEDIA_EXPORT MPEG1AudioStreamParser : public MPEGAudioStreamParserBase { |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 ChannelLayout* channel_layout, | 78 ChannelLayout* channel_layout, |
78 int* sample_count, | 79 int* sample_count, |
79 bool* metadata_frame) const override; | 80 bool* metadata_frame) const override; |
80 | 81 |
81 DISALLOW_COPY_AND_ASSIGN(MPEG1AudioStreamParser); | 82 DISALLOW_COPY_AND_ASSIGN(MPEG1AudioStreamParser); |
82 }; | 83 }; |
83 | 84 |
84 } // namespace media | 85 } // namespace media |
85 | 86 |
86 #endif // MEDIA_FORMATS_MPEG_MPEG1_AUDIO_STREAM_PARSER_H_ | 87 #endif // MEDIA_FORMATS_MPEG_MPEG1_AUDIO_STREAM_PARSER_H_ |
OLD | NEW |