Cog/Plugins/MAD/ThirdParty/CVbriHeader.h
Christopher Snowhill a2a75d6565 [MAD Decoder] Add support for FhG VBRI headers
This header type was missing, causing some Fraunhofer VBR MP3 files to
decode the wrong length information.

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
2022-06-19 19:40:40 -07:00

26 lines
528 B
C
Executable file

#ifndef _CVbriHeader_
#define _CVbriHeader_
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
struct VbriHeader;
int readVbriHeader(struct VbriHeader **, const unsigned char *Hbuffer, size_t length);
void freeVbriHeader(struct VbriHeader *);
// int VbriSeekPointByTime(float EntryTimeInSeconds);
// float VbriSeekTimeByPoint(unsigned int EntryPointInBytes);
// int VbriSeekPointByPercent(float percent);
// float VbriTotalDuration();
int VbriTotalFrames(struct VbriHeader *);
#ifdef __cplusplus
}
#endif
#endif