World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Файл adts_parser.h

См. исходные тексты.

Функции

int av_adts_header_parse (const uint8_t *buf, uint32_t *samples, uint8_t *frames)
 

Функции

◆ av_adts_header_parse()

int av_adts_header_parse ( const uint8_t buf,
uint32_t samples,
uint8_t frames 
)

Extract the number of samples and frames from AAC data.

Аргументы
[in]bufpointer to AAC data buffer
[out]samplesPointer to where number of samples is written
[out]framesPointer to where number of frames is written
Возвращает
Returns 0 on success, error code on failure.