Преглед на файлове

Corrected a couple of warnings

pull/129/merge
raysan5 преди 8 години
родител
ревизия
3884716948
променени са 2 файла, в които са добавени 2 реда и са изтрити 3 реда
  1. +0
    -1
      src/audio.c
  2. +2
    -2
      src/external/jar_mod.h

+ 0
- 1
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

+ 2
- 2
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;

Зареждане…
Отказ
Запис