mirror of
https://github.com/vsariola/sointu.git
synced 2025-11-18 16:49:06 -05:00
drafting
This commit is contained in:
parent
f92ecb2e99
commit
a872bd3340
@ -13,6 +13,8 @@
|
||||
%define SU_LENGTH_IN_PATTERNS {{.Song.Score.Length}}
|
||||
%define SU_LENGTH_IN_ROWS (SU_LENGTH_IN_PATTERNS*SU_PATTERN_SIZE)
|
||||
%define SU_SAMPLES_PER_ROW (SU_SAMPLE_RATE*60/(SU_BPM*SU_ROWS_PER_BEAT))
|
||||
%define SU_NUMTHREADS {{.Song.Patch.NumThreads}}
|
||||
|
||||
|
||||
{{- if or .RowSync (.HasOp "sync")}}
|
||||
{{- if .RowSync}}
|
||||
@ -38,11 +40,14 @@
|
||||
{{- end}}
|
||||
|
||||
_su_symbols:
|
||||
{{- range $index := .Song.Patch.NumThreads}}
|
||||
%ifdef MANGLED
|
||||
extern _su_render_song@4
|
||||
extern _su_render_song{{if gt $index 0}}{{add1 $index}}{{end}}@4
|
||||
%else ; MANGLED
|
||||
extern su_render_song
|
||||
extern su_render_song{{if gt $index 0}}{{add1 $index}}{{end}}
|
||||
%endif ; MANGLED
|
||||
{{- end}}
|
||||
|
||||
|
||||
{{- if gt (.SampleOffsets | len) 0}}
|
||||
extern _su_load_gmdls
|
||||
|
||||
Reference in New Issue
Block a user