Commitba2ee4b6Recorded18 Sep 2026Repositorysigil-dsp
Compile fm4.c and fx4.c into the library and export src/c as an include dir
Message
Consumers that link the static library (motif's render loop) can now include fm4.h, fx4.h and ks.h directly instead of mirroring the structs.
Changed
package.sgl | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)Diff
package.sglmodified
@@ -107,8 +107,13 @@
107
"vendor/soundpipe/lib/dr_wav/dr_wav.c" 108
;; Native bindings 109
"src/c/dsp.c"−110
"src/c/ks.c")+110
"src/c/ks.c"+111
"src/c/fm4.c"+112
"src/c/fx4.c") 113
c-include-dirs: '("vendor/soundpipe/h"+114
;; own primitives (ks.h, fm4.h, fx4.h) so consumers+115
;; include the real structs instead of mirroring them+116
"src/c" 117
"vendor/soundpipe/lib/faust" 118
"vendor/soundpipe/lib/dr_wav") 119
c-flags: '("-DNO_LIBSNDFILE" "-DSPFLOAT=float"@@ -167,7 +172,9 @@
172
"vendor/soundpipe/modules/wavout.c" 173
"vendor/soundpipe/lib/dr_wav/dr_wav.c" 174
"src/c/dsp.c"−170
"src/c/ks.c")+175
"src/c/ks.c"+176
"src/c/fm4.c"+177
"src/c/fx4.c") 178
include-dirs: '("vendor/soundpipe/h" 179
"vendor/soundpipe/lib/faust" 180
"vendor/soundpipe/lib/dr_wav")