fix copy/paste mistake
authorRobin Gareus <robin@gareus.org>
Wed, 24 Aug 2016 20:46:36 +0000 (22:46 +0200)
committerRobin Gareus <robin@gareus.org>
Wed, 24 Aug 2016 20:46:36 +0000 (22:46 +0200)
libs/ardour/fluid_synth.cc

index 3c013dd00daec3474e6f06ea9ee59b45bb321b43..333738766a642e067cff52b7ccc134a82909f3ca 100644 (file)
@@ -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;
 }