mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +01:00
reduce initial fluidsynth load
This commit is contained in:
parent
7bdf4e12ba
commit
427d9f888a
1 changed files with 4 additions and 0 deletions
|
|
@ -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, "");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue