X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fsynthesizer%2Fsynthesizer.C;h=194da4c70ec13be23009c71db725a4a135aece7e;hb=26f3c4335351a3938db78303c57a2ba6551a2a10;hp=d9fe51e2348d0e0c46a43fb649b406edbf2bf4a2;hpb=723142d62d61cde588e961426440f839ca9dcda9;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/synthesizer/synthesizer.C b/cinelerra-5.1/plugins/synthesizer/synthesizer.C index d9fe51e2..194da4c7 100644 --- a/cinelerra-5.1/plugins/synthesizer/synthesizer.C +++ b/cinelerra-5.1/plugins/synthesizer/synthesizer.C @@ -82,7 +82,7 @@ void Synth::read_data(KeyFrame *keyframe) FileXML input; char string[BCTEXTLEN]; // cause htal file to read directly from text - input.set_shared_input(keyframe->get_data(), strlen(keyframe->get_data())); + input.set_shared_input(keyframe->xbuf); //printf("Synth::read_data %s\n", keyframe->get_data()); int result = 0, current_osc = 0; @@ -136,7 +136,7 @@ void Synth::save_data(KeyFrame *keyframe) char string[BCTEXTLEN]; // cause htal file to store data directly in text - output.set_shared_output(keyframe->get_data(), MESSAGESIZE); + output.set_shared_output(keyframe->xbuf); output.tag.set_title("SYNTH"); output.tag.set_property("WETNESS", config.wetness);