summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/drone.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/drone.c b/src/drone.c
index d374e3b..dc8c084 100644
--- a/src/drone.c
+++ b/src/drone.c
@@ -192,11 +192,14 @@ void xas_drone_chamber_set_drone_gain(xas_drone_chamber *chamber, float gain) {
}
void xas_drone_chamber_set_synth_gain(xas_drone_chamber *chamber, float gain) {
- xas_object_set_gain(chamber->synth_bass->ctx, gain);
xas_object_set_gain(chamber->synth_l->ctx, gain);
xas_object_set_gain(chamber->synth_r->ctx, gain);
}
+void xas_drone_chamber_set_bass_gain(xas_drone_chamber *chamber, float gain) {
+ xas_object_set_gain(chamber->synth_bass->ctx, gain);
+}
+
void xas_drone_chamber_bass_start(xas_drone_chamber *chamber) {
xas_synth_start(chamber->synth_bass->ctx);
}