libmist backport from new metadata branch with improved typing and styling

This commit is contained in:
Erik Zandvliet 2018-11-28 12:16:00 +01:00 committed by Thulinma
parent 7a03d3e96c
commit 10fa4b7e7b
88 changed files with 5957 additions and 5757 deletions

View file

@ -15,6 +15,7 @@ namespace Mpeg{
struct MP2Info{
uint64_t sampleRate;
uint8_t channels;
uint8_t layer;
};
MP2Info parseMP2Header(const std::string &hdr);
@ -40,5 +41,5 @@ namespace Mpeg{
bool parseMPEG2Header(const char *hdr, MPEG2Info &mpInfo);
void parseMPEG2Headers(const char *hdr, uint32_t len, MPEG2Info &mpInfo);
MPEG2Info parseMPEG2Headers(const char *hdr, uint32_t len);
}
}// namespace Mpeg