Corrected a couple of warnings

This commit is contained in:
raysan5 2016-06-11 12:01:39 +02:00
parent 8de1427803
commit 3884716948
2 changed files with 2 additions and 3 deletions

View File

@ -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 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 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 static int lastAudioError = 0; // Registers last audio error

View File

@ -64,7 +64,7 @@
// - "Load" a MOD from file, context must already be initialized. // - "Load" a MOD from file, context must already be initialized.
// Return size of file in bytes. // 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. // - Generate and return the next samples chunk to outbuffer.
// nbsample specify the number of stereo 16bits samples you want. // 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 // 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) mulong jar_mod_max_samples(jar_mod_context_t * ctx)
{ {
muint buff[2]; mint buff[2];
mulong len; mulong len;
mulong lastcount = ctx->loopcount; mulong lastcount = ctx->loopcount;