mirror of
https://github.com/vsariola/sointu.git
synced 2025-05-25 18:00:37 -04:00
feat(templates/amd64-386): add define to tell if we are using float samples
This commit is contained in:
parent
b15de7f54a
commit
a3bdf565fd
@ -27,9 +27,11 @@
|
||||
{{- if .Output16Bit}}
|
||||
typedef short SUsample;
|
||||
#define SU_SAMPLE_RANGE 32767.0
|
||||
#define SU_SAMPLE_PCM16
|
||||
{{- else}}
|
||||
typedef float SUsample;
|
||||
#define SU_SAMPLE_RANGE 1.0
|
||||
#define SU_SAMPLE_FLOAT
|
||||
{{- end}}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user