From b2fd42dc60791d212b86da15b98deaf42f27f464 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Wed, 6 Apr 2016 13:48:32 +0200 Subject: [PATCH] TREMOR function signatures --- Sources/Engine/Sound/ov_functions.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Sources/Engine/Sound/ov_functions.h b/Sources/Engine/Sound/ov_functions.h index 0188a83..703cefb 100644 --- a/Sources/Engine/Sound/ov_functions.h +++ b/Sources/Engine/Sound/ov_functions.h @@ -19,6 +19,14 @@ with this program; if not, write to the Free Software Foundation, Inc., DLLFUNCTION( OVF, int, ov_clear, (OggVorbis_File *vf), 4, 0) DLLFUNCTION( OVF, int, ov_open, (FILE *f, OggVorbis_File *vf, char *initial, long ibytes), 16,0); DLLFUNCTION( OVF, int, ov_open_callbacks, (void *datasource, OggVorbis_File *vf, char *initial, long ibytes, ov_callbacks callbacks), 32,0); +#ifdef USE_TREMOR +DLLFUNCTION( OVF, long, ov_read, (OggVorbis_File *vf,char *buffer,int length, int *bitstream), 16,0); +#else DLLFUNCTION( OVF, long, ov_read, (OggVorbis_File *vf,char *buffer,int length, int bigendianp,int word,int sgned,int *bitstream), 28,0); +#endif DLLFUNCTION( OVF, vorbis_info *, ov_info, (OggVorbis_File *vf,int link), 8,0); -DLLFUNCTION( OVF, int, ov_time_seek, (OggVorbis_File *vf, double pos), 12,0); \ No newline at end of file +#ifdef USE_TREMOR +DLLFUNCTION( OVF, int, ov_time_seek, (OggVorbis_File *vf, int64_t pos), 12,0); +#else +DLLFUNCTION( OVF, int, ov_time_seek, (OggVorbis_File *vf, double pos), 12,0); +#endif \ No newline at end of file