1 #ifndef _DJGPP_INCLUDE_SDL_MIXER_MUSIC_H 2 #define _DJGPP_INCLUDE_SDL_MIXER_MUSIC_H 3 4 #include "mix.h" 5 6 #if defined(SDL_mixer) 7 #include <SDL_mixer.h> 8 9 Sint16 tmp; 10 int len; 11 Uint8 *stream; 12 Mix_Chunk *chunk; 13 SDL_AudioCVT cvt; 14 boolean Callback_Stop; 15 boolean USE_S16; 16 17 #define MAX_SONGS 100 // there cannot be more tracks... 18 Mix_Music *sdlmixmusic[MAX_SONGS]; 19 20 void sdlmixer_fill_audio(int channel); 21 #endif 22 23 #if defined(LINUX) || defined(FREEBSD) 24 #include "osd_linux_sdl_machine.h" 25 #elif defined(WIN32) 26 #include "osd_win_sdl_machine.h" 27 #endif 28 29 #endif 30