Skip to content

Conversation

aubs-dev
Copy link
Contributor

NOTICE: THIS IS THE SAME COMMIT AS #17 IN RAUDIO. I PUT THIS HERE TO HAVE BOTH REPOS SYNCED.

Hey,
While I updated raudio #16, I also found some bugs & afterthoughts with "raudio.c".

First, as GetFileNameWithoutExt, GetFileName & strprbrk were linked to Raylib itself I had to add them to "raudio.c" under the "RAUDIO_STANDALONE" define for standalone mode to work. Point at which the functions were added:

Second, I use a lot compiler flags so it found that "SaveFileData" & "SaveFileText" in "raudio.c" were missing return values. Surprisingly a lot of variables inside "raudio.c" were actually using the values returned, that were never actually given.

@raysan5 raysan5 merged commit cf10cdd into raysan5:master Jan 28, 2024
@raysan5
Copy link
Owner

raysan5 commented Jan 28, 2024

@sanyokdev Thanks for the review! As raudio is integrated into raylib this issue was not detected before...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants