mirror of
https://github.com/vsariola/sointu.git
synced 2025-07-22 23:14:59 -04:00
feat(sointu): remove 16-bit output toggle from song; make it compile time option
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
{{- if not .Song.Output16Bit }}
|
||||
{{- if not .Output16Bit }}
|
||||
{{- if not .Clip }}
|
||||
mov {{.DI}}, [{{.Stack "OutputBufPtr"}}] ; edi containts ptr
|
||||
mov {{.SI}}, {{.PTRWORD}} su_synth_obj + su_synthworkspace.left
|
||||
|
@ -23,7 +23,7 @@
|
||||
#define SU_CALLCONV
|
||||
#endif
|
||||
|
||||
{{- if .Song.Output16Bit}}
|
||||
{{- if .Output16Bit}}
|
||||
typedef short SUsample;
|
||||
#define SU_SAMPLE_RANGE 32767.0
|
||||
{{- else}}
|
||||
|
Reference in New Issue
Block a user