summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXANTRONIX Development2022-03-10 10:24:42 -0500
committerXANTRONIX Development2022-03-10 10:24:42 -0500
commitc1d4b998ae16a8dd4738e6da2b9f98b61b7e707c (patch)
treed63715f4d817f6f7536bdda3c068b2e5570ecbca /src
parent8a14c833c42c9eb90d9f05bedac99863b9b17b4e (diff)
downloadxas-c1d4b998ae16a8dd4738e6da2b9f98b61b7e707c.tar.gz
xas-c1d4b998ae16a8dd4738e6da2b9f98b61b7e707c.tar.bz2
xas-c1d4b998ae16a8dd4738e6da2b9f98b61b7e707c.zip
Ensure chamber bass line is initialised
Diffstat (limited to 'src')
-rw-r--r--src/drone.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/drone.c b/src/drone.c
index a4ea1cb..e3748f1 100644
--- a/src/drone.c
+++ b/src/drone.c
@@ -150,6 +150,11 @@ xas_drone_chamber *xas_drone_chamber_new(xas_spatial_scene *scene,
goto error_spatial_scene_add_synth;
}
+ xas_synth_set_frequency(chamber->synth_bass->ctx,
+ XAS_DRONE_CHAMBER_BASS_FREQUENCY);
+
+ xas_synth_start(chamber->synth_bass->ctx);
+
chamber->drone_count = drone_count;
memset(chamber->drones, '\0', total);