X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fsynthesizer%2Fsynthesizer.C;fp=cinelerra-5.1%2Fplugins%2Fsynthesizer%2Fsynthesizer.C;h=194da4c70ec13be23009c71db725a4a135aece7e;hb=b2eb290b3f6e5c233393017aa152e67c76243130;hp=d9fe51e2348d0e0c46a43fb649b406edbf2bf4a2;hpb=c0fe374d9f9ab1653e9cc2edb41afb076eeae69f;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);