Skip to content

Conversation

RadsammyT
Copy link
Contributor

The current ExportWaveAsCode() has some various bugs/inconsistencies:

The data array name will list the entire path to the file. I don't know if ':', '/', and '\' are valid symbols in C var names but I made it so only the file name without its path and extension are listed. Also, note the missing file names before the wave data information preprocessor defines, and the unusual data array var name casing.
Before:
vwM5Kir2Xe

After:
Xpqc0rfUQ3

Review `raudio.c`: rewritten `ExportWaveAsCode()` to be more like rtextures.c `ExportImageAsCode()'
accidentally inserted a tab somewhere. corrected it.
@raysan5 raysan5 merged commit e2da32e into raysan5:master Apr 15, 2023
@raysan5
Copy link
Owner

raysan5 commented Apr 15, 2023

@RadsammyT Thanks for the review! :)

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