diff --git a/src/audio.c b/src/audio.c index e06994b8..a76a453f 100644 --- a/src/audio.c +++ b/src/audio.c @@ -144,7 +144,6 @@ typedef enum { INFO = 0, ERROR, WARNING, DEBUG, OTHER } TraceLogType; //---------------------------------------------------------------------------------- static Music musicChannels_g[MAX_MUSIC_STREAMS]; // Current music loaded, up to two can play at the same time static MixChannel_t *mixChannels_g[MAX_MIX_CHANNELS]; // What mix channels are currently active -static bool musicEnabled_g = false; static int lastAudioError = 0; // Registers last audio error diff --git a/src/external/jar_mod.h b/src/external/jar_mod.h index e0169d5e..c39db65a 100644 --- a/src/external/jar_mod.h +++ b/src/external/jar_mod.h @@ -64,7 +64,7 @@ // - "Load" a MOD from file, context must already be initialized. // Return size of file in bytes. // ------------------------------------------- -// void jar_mod_fillbuffer( jar_mod_context_t * modctx, unsigned short * outbuffer, unsigned long nbsample, jar_mod_tracker_buffer_state * trkbuf ) +// void jar_mod_fillbuffer( jar_mod_context_t * modctx, short * outbuffer, unsigned long nbsample, jar_mod_tracker_buffer_state * trkbuf ) // // - Generate and return the next samples chunk to outbuffer. // nbsample specify the number of stereo 16bits samples you want. @@ -1557,7 +1557,7 @@ mulong jar_mod_current_samples(jar_mod_context_t * modctx) // Works, however it is very slow, this data should be cached to ensure it is run only once per file mulong jar_mod_max_samples(jar_mod_context_t * ctx) { - muint buff[2]; + mint buff[2]; mulong len; mulong lastcount = ctx->loopcount;