projects
/
ardour.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bdf4e1
)
reduce initial fluidsynth load
author
Robin Gareus
<robin@gareus.org>
Wed, 24 Aug 2016 15:51:15 +0000
(17:51 +0200)
committer
Robin Gareus
<robin@gareus.org>
Wed, 24 Aug 2016 15:51:15 +0000
(17:51 +0200)
libs/plugins/a-fluidsynth.lv2/a-fluidsynth.c
patch
|
blob
|
history
diff --git
a/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.c
b/libs/plugins/a-fluidsynth.lv2/a-fluidsynth.c
index 34275e15b47513bc32a647737427e4e892846080..249cc7799c0c5d28fc48cdab2e8bb381f39a04e4 100644
(file)
--- a/
libs/plugins/a-fluidsynth.lv2/a-fluidsynth.c
+++ b/
libs/plugins/a-fluidsynth.lv2/a-fluidsynth.c
@@
-509,6
+509,10
@@
work (LV2_Handle instance,
fluid_synth_all_notes_off (self->synth, -1);
fluid_synth_all_sounds_off (self->synth, -1);
self->panic = false;
+ // boostrap synth engine.
+ float l[1024];
+ float r[1024];
+ fluid_synth_write_float (self->synth, 1024, l, 0, 1, r, 0, 1);
}
respond (handle, 1, "");