summaryrefslogtreecommitdiffhomepage
path: root/src/raudio.c
diff options
context:
space:
mode:
authorRay <[email protected]>2022-01-03 20:45:19 +0100
committerRay <[email protected]>2022-01-03 20:45:19 +0100
commit62858e11f7f3474713460d371b14c41040a89ea9 (patch)
tree39c354f453cf4112f2eef394c63d7b932bcc4451 /src/raudio.c
parent744bbd12a7e28cb5b428a3ee83e2daeb4fc0d331 (diff)
downloadraylib-62858e11f7f3474713460d371b14c41040a89ea9.tar.gz
raylib-62858e11f7f3474713460d371b14c41040a89ea9.zip
Review tracelogs
Diffstat (limited to 'src/raudio.c')
-rw-r--r--src/raudio.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/raudio.c b/src/raudio.c
index 5d177d9a..67510dc2 100644
--- a/src/raudio.c
+++ b/src/raudio.c
@@ -985,6 +985,9 @@ bool ExportWaveAsCode(Wave wave, const char *fileName)
success = SaveFileText(fileName, txtData);
RL_FREE(txtData);
+
+ if (success != 0) TRACELOG(LOG_INFO, "FILEIO: [%s] Wave as code exported successfully", fileName);
+ else TRACELOG(LOG_WARNING, "FILEIO: [%s] Failed to export wave as code", fileName);
return success;
}