mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-25 04:28:30 +00:00
Tweak to avoid warning
This commit is contained in:
6
src/external/jar_mod.h
vendored
6
src/external/jar_mod.h
vendored
@@ -59,7 +59,7 @@
|
|||||||
// - Initialize the jar_mod_context_t buffer. Must be called before doing anything else.
|
// - Initialize the jar_mod_context_t buffer. Must be called before doing anything else.
|
||||||
// Return 1 if success. 0 in case of error.
|
// Return 1 if success. 0 in case of error.
|
||||||
// -------------------------------------------
|
// -------------------------------------------
|
||||||
// mulong jar_mod_load_file(jar_mod_context_t * modctx, char* filename)
|
// mulong jar_mod_load_file(jar_mod_context_t * modctx, const char* filename)
|
||||||
//
|
//
|
||||||
// - "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.
|
||||||
@@ -247,7 +247,7 @@ bool jar_mod_init(jar_mod_context_t * modctx);
|
|||||||
bool jar_mod_setcfg(jar_mod_context_t * modctx, int samplerate, int bits, int stereo, int stereo_separation, int filter);
|
bool jar_mod_setcfg(jar_mod_context_t * modctx, int samplerate, int bits, int stereo, int stereo_separation, int filter);
|
||||||
void jar_mod_fillbuffer(jar_mod_context_t * modctx, 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);
|
||||||
void jar_mod_unload(jar_mod_context_t * modctx);
|
void jar_mod_unload(jar_mod_context_t * modctx);
|
||||||
mulong jar_mod_load_file(jar_mod_context_t * modctx, char* filename);
|
mulong jar_mod_load_file(jar_mod_context_t * modctx, const char* filename);
|
||||||
mulong jar_mod_current_samples(jar_mod_context_t * modctx);
|
mulong jar_mod_current_samples(jar_mod_context_t * modctx);
|
||||||
mulong jar_mod_max_samples(jar_mod_context_t * modctx);
|
mulong jar_mod_max_samples(jar_mod_context_t * modctx);
|
||||||
void jar_mod_seek_start(jar_mod_context_t * ctx);
|
void jar_mod_seek_start(jar_mod_context_t * ctx);
|
||||||
@@ -1516,7 +1516,7 @@ void jar_mod_unload( jar_mod_context_t * modctx)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
mulong jar_mod_load_file(jar_mod_context_t * modctx, char* filename)
|
mulong jar_mod_load_file(jar_mod_context_t * modctx, const char* filename)
|
||||||
{
|
{
|
||||||
mulong fsize = 0;
|
mulong fsize = 0;
|
||||||
if(modctx->modfile)
|
if(modctx->modfile)
|
||||||
|
Reference in New Issue
Block a user