1 /* 2 * Copyright (C) 2015-2020 Alibaba Group Holding Limited 3 */ 4 5 #ifndef __UVOICE_FORMAT_H__ 6 #define __UVOICE_FORMAT_H__ 7 8 9 int mp3_id3v1_parse(media_info_t *info, unsigned char *data, int size); 10 int format_parse_byname(char *name, media_format_t *format); 11 bool wav_format_check(char *buffer, int size); 12 bool mp3_format_check(char *data, int size); 13 bool aac_format_check(char *buffer, int size); 14 bool m4a_format_check(char *buffer, int size); 15 bool ogg_format_check(char *data, int size); 16 bool wma_format_check(char *buffer, int size); 17 bool amr_format_check(char *buffer, int size); 18 bool amrwb_format_check(char *data, int size); 19 bool flac_format_check(char *buffer, int size); 20 21 22 #endif /* __UVOICE_FORMAT_H__ */ 23