diff options
| author | Ray <[email protected]> | 2020-02-27 16:37:32 +0100 |
|---|---|---|
| committer | Ray <[email protected]> | 2020-02-27 16:37:32 +0100 |
| commit | 05992a6fce2f9233ab4dec842301290c328319a8 (patch) | |
| tree | 5a19e54f5594790bc600a4b128f25c71e8f9da18 | |
| parent | c8464bc731f57587a1c7e7cbad440bf89cc99621 (diff) | |
| download | raylib-05992a6fce2f9233ab4dec842301290c328319a8.tar.gz raylib-05992a6fce2f9233ab4dec842301290c328319a8.zip | |
Tweaks
| -rw-r--r-- | src/raudio.c | 1 | ||||
| -rw-r--r-- | src/raylib.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/src/raudio.c b/src/raudio.c index c9b9b41c..8dd40015 100644 --- a/src/raudio.c +++ b/src/raudio.c @@ -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); diff --git a/src/raylib.h b/src/raylib.h index ed8a3ace..48728fc1 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -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) |
