summaryrefslogtreecommitdiff
path: root/src/drumgizmo.cc
diff options
context:
space:
mode:
authorAndré Nusser <andre.nusser@googlemail.com>2019-07-26 00:25:30 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2019-10-14 22:04:13 +0200
commit1f7d744819968aec3c82035f730558cb73e0bd18 (patch)
treea899777609cfc7740638ab66998ca06fa2cfca6b /src/drumgizmo.cc
parentc4397e38f1ba24993445867791ccd61b4bd1b0f8 (diff)
Add support for normalized samples in the engine.
This is untested and also the part of the parser is missing.
Diffstat (limited to 'src/drumgizmo.cc')
-rw-r--r--src/drumgizmo.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drumgizmo.cc b/src/drumgizmo.cc
index dcbb7bd..e6dbf55 100644
--- a/src/drumgizmo.cc
+++ b/src/drumgizmo.cc
@@ -357,7 +357,7 @@ void DrumGizmo::getSamples(int ch, int pos, sample_t* s, size_t sz)
if((af.mainState() == main_state_t::is_not_main) &&
enable_bleed_control)
{
- evt.scale = master_bleed;
+ evt.scale *= master_bleed;
}
evt.buffer_size = initial_chunksize;