summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/synth.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/synth.c b/src/synth.c
index 76d718b..83787b7 100644
--- a/src/synth.c
+++ b/src/synth.c
@@ -133,6 +133,7 @@ xas_synth *xas_synth_new(xas_audio_format format,
synth->type = type;
synth->state = XAS_SYNTH_IDLE;
synth->phase = 0.0f;
+ synth->gain = XAS_SYNTH_DEFAULT_GAIN;
synth->frequency = XAS_SYNTH_DEFAULT_FREQUENCY;
synth->format.channels = XAS_AUDIO_MONO;