7 #ifndef PACKAGER_MEDIA_FORMATS_MP2T_AUDIO_HEADER_H_ 8 #define PACKAGER_MEDIA_FORMATS_MP2T_AUDIO_HEADER_H_ 27 virtual bool IsSyncWord(
const uint8_t* buf)
const = 0;
43 virtual bool Parse(
const uint8_t* audio_frame,
size_t audio_frame_size) = 0;
57 size_t num_bytes)
const = 0;
88 #endif // PACKAGER_MEDIA_FORMATS_MP2T_AUDIO_HEADER_H_
All the methods that are virtual are virtual for mocking.