summaryrefslogtreecommitdiff
path: root/apps/codecs/libtremor/ivorbisfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libtremor/ivorbisfile.h')
-rw-r--r--apps/codecs/libtremor/ivorbisfile.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/apps/codecs/libtremor/ivorbisfile.h b/apps/codecs/libtremor/ivorbisfile.h
index 39a648961a..1aeb0ca84b 100644
--- a/apps/codecs/libtremor/ivorbisfile.h
+++ b/apps/codecs/libtremor/ivorbisfile.h
@@ -56,7 +56,7 @@ typedef struct OggVorbis_File {
56 int seekable; 56 int seekable;
57 ogg_int64_t offset; 57 ogg_int64_t offset;
58 ogg_int64_t end; 58 ogg_int64_t end;
59 ogg_sync_state *oy; 59 ogg_sync_state oy;
60 60
61 /* If the FILE handle isn't seekable (eg, a pipe), only the current 61 /* If the FILE handle isn't seekable (eg, a pipe), only the current
62 stream appears */ 62 stream appears */
@@ -77,7 +77,7 @@ typedef struct OggVorbis_File {
77 ogg_int64_t bittrack; 77 ogg_int64_t bittrack;
78 ogg_int64_t samptrack; 78 ogg_int64_t samptrack;
79 79
80 ogg_stream_state *os; /* take physical pages, weld into a logical 80 ogg_stream_state os; /* take physical pages, weld into a logical
81 stream of packets */ 81 stream of packets */
82 vorbis_dsp_state vd; /* central working state for the packet->PCM decoder */ 82 vorbis_dsp_state vd; /* central working state for the packet->PCM decoder */
83 vorbis_block vb; /* local working space for packet->PCM decode */ 83 vorbis_block vb; /* local working space for packet->PCM decode */
@@ -87,13 +87,11 @@ typedef struct OggVorbis_File {
87} OggVorbis_File; 87} OggVorbis_File;
88 88
89extern int ov_clear(OggVorbis_File *vf); 89extern int ov_clear(OggVorbis_File *vf);
90 //extern int ov_open(FILE *f,OggVorbis_File *vf,char *initial,long ibytes);
91extern int ov_open_callbacks(void *datasource, OggVorbis_File *vf, 90extern int ov_open_callbacks(void *datasource, OggVorbis_File *vf,
92 char *initial, long ibytes, ov_callbacks callbacks); 91 const char *initial, long ibytes, ov_callbacks callbacks);
93 92
94 //extern int ov_test(FILE *f,OggVorbis_File *vf,char *initial,long ibytes);
95extern int ov_test_callbacks(void *datasource, OggVorbis_File *vf, 93extern int ov_test_callbacks(void *datasource, OggVorbis_File *vf,
96 char *initial, long ibytes, ov_callbacks callbacks); 94 const char *initial, long ibytes, ov_callbacks callbacks);
97extern int ov_test_open(OggVorbis_File *vf); 95extern int ov_test_open(OggVorbis_File *vf);
98 96
99extern long ov_bitrate(OggVorbis_File *vf,int i); 97extern long ov_bitrate(OggVorbis_File *vf,int i);