Changeset 1452
- Timestamp:
- Mar 19, 2016, 5:20:36 AM (9 years ago)
- Location:
- sdl_mixer/trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified sdl_mixer/trunk/configure.in ¶
r1448 r1452 1 1 dnl Process this file with autoconf to produce a configure script. 2 2 AC_INIT(README) 3 AC_CONFIG_MACRO_DIR([acinclude]) 3 4 AC_CONFIG_AUX_DIR(build-scripts) 4 5 -
TabularUnified sdl_mixer/trunk/dynamic_mod.h ¶
r1448 r1452 31 31 CHAR* (*MikMod_InfoDriver)(void); 32 32 CHAR* (*MikMod_InfoLoader)(void); 33 #ifdef __WATCOMC__ 34 int (*MikMod_Init)(char const*); 35 #else 33 36 BOOL (*MikMod_Init)(CHAR*); 37 #endif 34 38 void (*MikMod_RegisterAllLoaders)(void); 35 39 void (*MikMod_RegisterDriver)(struct MDRIVER*); 36 40 int* MikMod_errno; 41 #ifdef __WATCOMC__ 42 char const* (*MikMod_strerror)(int); 43 #else 37 44 char* (*MikMod_strerror)(int); 45 #endif 38 46 BOOL (*Player_Active)(void); 39 47 void (*Player_Free)(MODULE*); -
TabularUnified sdl_mixer/trunk/dynamic_ogg.h ¶
r1448 r1452 32 32 int (*ov_clear)(OggVorbis_File *vf); 33 33 vorbis_info *(*ov_info)(OggVorbis_File *vf,int link); 34 #ifdef __WATCOMC__ 35 int (*ov_open_callbacks)(void *datasource, OggVorbis_File *vf, const char *initial, long ibytes, ov_callbacks callbacks); 36 #else 34 37 int (*ov_open_callbacks)(void *datasource, OggVorbis_File *vf, char *initial, long ibytes, ov_callbacks callbacks); 38 #endif 35 39 ogg_int64_t (*ov_pcm_total)(OggVorbis_File *vf,int i); 36 40 #ifdef OGG_USE_TREMOR -
TabularUnified sdl_mixer/trunk/load_flac.c ¶
r1448 r1452 59 59 FLAC_SDL_Data *data = (FLAC_SDL_Data *)client_data; 60 60 61 * bytes= SDL_RWread (data->sdl_src, buffer, sizeof (FLAC__byte),61 *((int *)bytes) = SDL_RWread (data->sdl_src, buffer, sizeof (FLAC__byte), 62 62 *bytes); 63 63 64 if(* bytes< 0) { // error in read64 if(*((int *)bytes) < 0) { // error in read 65 65 return FLAC__STREAM_DECODER_READ_STATUS_ABORT; 66 66 } -
TabularUnified sdl_mixer/trunk/mixer.c ¶
r1448 r1452 284 284 285 285 /* Mixing function */ 286 #ifdef __WATCOMC__ 287 static void SDLCALL mix_channels(void *udata, Uint8 *stream, int len) 288 #else 286 289 static void mix_channels(void *udata, Uint8 *stream, int len) 290 #endif 287 291 { 288 292 Uint8 *mix_input; -
TabularUnified sdl_mixer/trunk/music.c ¶
r1448 r1452 1579 1579 } 1580 1580 1581 #if defined(__MINGW32__) || defined(__MINGW64__) 1581 #if defined(__MINGW32__) || defined(__MINGW64__) || defined(__WATCOMC__) 1582 1582 for (path = strtok(paths, ";"); path; path = strtok(NULL, ";")) { 1583 1583 #elif defined(_WIN32) -
TabularUnified sdl_mixer/trunk/music_flac.c ¶
r1448 r1452 61 61 // make sure there is something to be reading 62 62 if (*bytes > 0) { 63 * bytes= SDL_RWread (data->rwops, buffer, sizeof (FLAC__byte), *bytes);64 65 if (* bytes< 0) { // error in read63 *((int *)bytes) = SDL_RWread (data->rwops, buffer, sizeof (FLAC__byte), *bytes); 64 65 if (*((int *)bytes) < 0) { // error in read 66 66 return FLAC__STREAM_DECODER_READ_STATUS_ABORT; 67 67 } 68 else if (* bytes== 0 ) { // no data was read (EOF)68 else if (*((int *)bytes) == 0 ) { // no data was read (EOF) 69 69 return FLAC__STREAM_DECODER_READ_STATUS_END_OF_STREAM; 70 70 } -
TabularUnified sdl_mixer/trunk/music_mod.c ¶
r1448 r1452 150 150 } LMM_MREADER; 151 151 152 #ifdef __WATCOMC__ 153 int LMM_Seek(struct MREADER *mr,long to,int dir) 154 #else 152 155 BOOL LMM_Seek(struct MREADER *mr,long to,int dir) 156 #endif 153 157 { 154 158 LMM_MREADER* lmmmr = (LMM_MREADER*)mr;
Note:
See TracChangeset
for help on using the changeset viewer.