summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXANTRONIX Development2022-03-08 20:28:01 -0500
committerXANTRONIX Development2022-03-08 20:28:01 -0500
commit60241cb0856bc7deafb052c0665de91878153de4 (patch)
tree1418a7e3878bbebfe7bd1196987b20f3326ccc34
parentd46847852d1446f4b64a0fd424cdea5fa1c0dbd4 (diff)
downloadxas-60241cb0856bc7deafb052c0665de91878153de4.tar.gz
xas-60241cb0856bc7deafb052c0665de91878153de4.tar.bz2
xas-60241cb0856bc7deafb052c0665de91878153de4.zip
Fix incorrect default duty cycle
-rw-r--r--include/xas/synth.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xas/synth.h b/include/xas/synth.h
index cb0b3bd..7ec4af4 100644
--- a/include/xas/synth.h
+++ b/include/xas/synth.h
@@ -8,7 +8,7 @@
#include <xas/audio.h>
#define XAS_SYNTH_DEFAULT_GAIN 1.0f
-#define XAS_SYNTH_DEFAULT_DUTY 1.0f
+#define XAS_SYNTH_DEFAULT_DUTY 0.5f
#define XAS_SYNTH_DEFAULT_FREQUENCY 2600 /* Hz */
enum xas_synth_type {