When PCM audio is played, the size is required by the API. This is provided in the generated .h file, but was not available in the generated .s file. This meant that if the library was used by an assembler project, the required data to play PCM files was not available.
How?
Add Utils::declArrayEnd method and call from Bin::out
What if?
I'm not a Java expert, so hopefully the rebuilt rescomp.jar is compatible. I had to change the Java Compiler compliance level to 1.8 in the Eclipse project settings for commons to allow the jar to run locally.
What?
Fixed rescomp so builds (in Eclipse). It looks like the directory paths have been changed (to remove spaces) since the last time this tool was built.
Modified the rescomp source so outputs the binary array size in the generated
.s
file. For example:Why?
When PCM audio is played, the size is required by the API. This is provided in the generated .h file, but was not available in the generated .s file. This meant that if the library was used by an assembler project, the required data to play PCM files was not available.
How?
Add
Utils::declArrayEnd
method and call fromBin::out
What if?
I'm not a Java expert, so hopefully the rebuilt rescomp.jar is compatible. I had to change the Java Compiler compliance level to 1.8 in the Eclipse project settings for
commons
to allow the jar to run locally.