summaryrefslogtreecommitdiff
path: root/libs/ardour/fluid_synth.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/fluid_synth.cc')
-rw-r--r--libs/ardour/fluid_synth.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/ardour/fluid_synth.cc b/libs/ardour/fluid_synth.cc
index 3c013dd00d..333738766a 100644
--- a/libs/ardour/fluid_synth.cc
+++ b/libs/ardour/fluid_synth.cc
@@ -93,9 +93,9 @@ FluidSynth::load_sf2 (const std::string& fn)
*/
float l[1024];
float r[1024];
- fluid_synth_all_notes_off (self->synth, -1);
- fluid_synth_all_sounds_off (self->synth, -1);
- fluid_synth_write_float (self->synth, 1024, l, 0, 1, r, 0, 1);
+ fluid_synth_all_notes_off (_synth, -1);
+ fluid_synth_all_sounds_off (_synth, -1);
+ fluid_synth_write_float (_synth, 1024, l, 0, 1, r, 0, 1);
return true;
}