Temp revert

This commit is contained in:
mkwong98 2020-11-15 17:14:00 +08:00
parent d7111744dd
commit 4135965d8e
2 changed files with 3911 additions and 4088 deletions

File diff suppressed because it is too large Load diff

View file

@ -70,20 +70,9 @@ extern "C" {
int max_frame_size;
} stb_vorbis_info;
typedef struct
{
char* vendor;
int comment_list_length;
char** comment_list;
} stb_vorbis_comment;
// get general information about the file
extern stb_vorbis_info stb_vorbis_get_info(stb_vorbis *f);
// get ogg comments
extern stb_vorbis_comment stb_vorbis_get_comment(stb_vorbis* f);
// get the last error detected (clears it, too)
extern int stb_vorbis_get_error(stb_vorbis *f);
@ -207,7 +196,7 @@ extern "C" {
// create an ogg vorbis decoder from an open FILE *, looking for a stream at
// the _current_ seek point (ftell). on failure, returns NULL and sets *error.
// note that stb_vorbis must "own" this stream; if you seek it in between
// calls to stb_vorbis, it will become confused. Moreover, if you attempt to
// calls to stb_vorbis, it will become confused. Morever, if you attempt to
// perform stb_vorbis_seek_*() operations on this file, it will assume it
// owns the _entire_ rest of the file after the start point. Use the next
// function, stb_vorbis_open_file_section(), to limit it.
@ -328,8 +317,7 @@ extern "C" {
VORBIS_invalid_first_page,
VORBIS_bad_packet_type,
VORBIS_cant_find_last_page,
VORBIS_seek_failed,
VORBIS_ogg_skeleton_not_supported
VORBIS_seek_failed
};