mirror of
https://github.com/raysan5/raylib.git
synced 2025-09-12 14:28:15 +00:00
Tweaks
This commit is contained in:
@@ -745,6 +745,7 @@ void ExportWave(Wave wave, const char *fileName)
|
||||
// Export raw sample data (without header)
|
||||
// NOTE: It's up to the user to track wave parameters
|
||||
SaveFileData(fileName, wave.data, wave.sampleCount*wave.channels*wave.sampleSize/8);
|
||||
success = true;
|
||||
}
|
||||
|
||||
if (success) TRACELOG(LOG_INFO, "Wave exported successfully: %s", fileName);
|
||||
|
@@ -104,7 +104,7 @@
|
||||
#define RL_MALLOC(sz) malloc(sz)
|
||||
#endif
|
||||
#ifndef RL_CALLOC
|
||||
#define RL_CALLOC(ptr,sz) calloc(ptr,sz)
|
||||
#define RL_CALLOC(n,sz) calloc(n,sz)
|
||||
#endif
|
||||
#ifndef RL_REALLOC
|
||||
#define RL_REALLOC(ptr,sz) realloc(ptr,sz)
|
||||
|
Reference in New Issue
Block a user