X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=include%2Fvorbis%2Fvorbisfile.h;h=56626119bbd6f34c23ee00b423b1df80fbf5ef61;hb=679433ebb8287744a9801f847b7a105dbc2a0404;hp=98fffa3c29e6869835385abec5e7b6257c2ad4c7;hpb=b6d6e636fa36ca9adc21f397871b87f95332bd5e;p=platform%2Fupstream%2Flibvorbis.git diff --git a/include/vorbis/vorbisfile.h b/include/vorbis/vorbisfile.h index 98fffa3..5662611 100644 --- a/include/vorbis/vorbisfile.h +++ b/include/vorbis/vorbisfile.h @@ -11,7 +11,6 @@ ******************************************************************** function: stdio-based convenience library for opening/seeking/decoding - last mod: $Id$ ********************************************************************/ @@ -47,7 +46,7 @@ typedef struct { /* a few sets of convenient callbacks, especially for use under * Windows where ov_open_callbacks() should always be used instead of - * ov_open() to avoid problems with incompatable crt.o version linking + * ov_open() to avoid problems with incompatible crt.o version linking * issues. */ static int _ov_header_fseek_wrap(FILE *f,ogg_int64_t off,int whence){ @@ -122,7 +121,7 @@ typedef struct OggVorbis_File { ogg_int64_t *dataoffsets; long *serialnos; ogg_int64_t *pcmlengths; /* overloaded to maintain binary - compatability; x2 size, stores both + compatibility; x2 size, stores both beginning and end values */ vorbis_info *vi; vorbis_comment *vc; @@ -147,14 +146,14 @@ typedef struct OggVorbis_File { extern int ov_clear(OggVorbis_File *vf); -extern int ov_fopen(char *path,OggVorbis_File *vf); -extern int ov_open(FILE *f,OggVorbis_File *vf,char *initial,long ibytes); +extern int ov_fopen(const char *path,OggVorbis_File *vf); +extern int ov_open(FILE *f,OggVorbis_File *vf,const char *initial,long ibytes); extern int ov_open_callbacks(void *datasource, OggVorbis_File *vf, - char *initial, long ibytes, ov_callbacks callbacks); + const char *initial, long ibytes, ov_callbacks callbacks); -extern int ov_test(FILE *f,OggVorbis_File *vf,char *initial,long ibytes); +extern int ov_test(FILE *f,OggVorbis_File *vf,const char *initial,long ibytes); extern int ov_test_callbacks(void *datasource, OggVorbis_File *vf, - char *initial, long ibytes, ov_callbacks callbacks); + const char *initial, long ibytes, ov_callbacks callbacks); extern int ov_test_open(OggVorbis_File *vf); extern long ov_bitrate(OggVorbis_File *vf,int i);