mirror of
https://github.com/vsariola/sointu.git
synced 2025-05-28 03:10:24 -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}}
|
{{- if .Output16Bit}}
|
||||||
typedef short SUsample;
|
typedef short SUsample;
|
||||||
#define SU_SAMPLE_RANGE 32767.0
|
#define SU_SAMPLE_RANGE 32767.0
|
||||||
|
#define SU_SAMPLE_PCM16
|
||||||
{{- else}}
|
{{- else}}
|
||||||
typedef float SUsample;
|
typedef float SUsample;
|
||||||
#define SU_SAMPLE_RANGE 1.0
|
#define SU_SAMPLE_RANGE 1.0
|
||||||
|
#define SU_SAMPLE_FLOAT
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user