Skip to content

Conversation

aubs-dev
Copy link

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
Copy link
Owner

raysan5 commented Jan 28, 2024

@sanyokdev Thank you very much for the review! I usually focus on raylib/raudio module and I forget I also kept it as a separate repo. Thanks!

@aubs-dev aubs-dev deleted the standalone-bugfix branch January 29, 2024 00:56
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