mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-26 08:54:56 -04:00
feat(go4k&sointu): Export .h C header files from the songs using go, also automatically during build for the tests.
The header files are automatically generated during build. No need to #define anything; everything is fixed by the .asm file. This adds go as a dependency to run the unit tests, but this is probably not a bad thing, as go is probably needed anyway if one wants to actually start developing Sointu.
This commit is contained in:
@ -292,7 +292,7 @@ EXPORT MANGLE_FUNC(su_power,0)
|
||||
; Stack : sample row pushad output_ptr
|
||||
;-------------------------------------------------------------------------------
|
||||
%macro output_sound 0
|
||||
%ifndef SU_USE_16BIT_OUTPUT
|
||||
%ifndef OUTPUT_16BIT
|
||||
%ifndef SU_CLIP_OUTPUT ; The modern way. No need to clip; OS can do it.
|
||||
mov _DI, [_SP+su_stack.bufferptr - su_stack.output_sound] ; edi containts ptr
|
||||
mov _SI, PTRWORD su_synth_obj + su_synthworkspace.left
|
||||
|
@ -77,7 +77,7 @@
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%ifdef SU_USE_16BIT_OUTPUT
|
||||
%ifdef OUTPUT_16BIT
|
||||
%define SU_INCLUDE_CLIP
|
||||
%endif
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
%ifdef INCLUDE_GMDLS
|
||||
%ifdef INCLUDE_SAMPLES
|
||||
|
||||
%define SAMPLE_TABLE_SIZE 3440660 ; size of gmdls
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
%ifdef INCLUDE_GMDLS
|
||||
%ifdef INCLUDE_SAMPLES
|
||||
|
||||
%define SAMPLE_TABLE_SIZE 3440660 ; size of gmdls
|
||||
|
||||
|
Reference in New Issue
Block a user