X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fpitch%2Fpitch.C;h=673c33c173b341ba886f5d539e3e48e72fe1a324;hb=702161ddaf384a773831f1643fca0a54133625b2;hp=c0de9c397db654e1e2c79043dddba3e471124ac7;hpb=723142d62d61cde588e961426440f839ca9dcda9;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/pitch/pitch.C b/cinelerra-5.1/plugins/pitch/pitch.C index c0de9c39..673c33c1 100644 --- a/cinelerra-5.1/plugins/pitch/pitch.C +++ b/cinelerra-5.1/plugins/pitch/pitch.C @@ -68,7 +68,7 @@ int PitchEffect::is_realtime() { return 1; } void PitchEffect::read_data(KeyFrame *keyframe) { FileXML input; - input.set_shared_input(keyframe->get_data(), strlen(keyframe->get_data())); + input.set_shared_input(keyframe->xbuf); int result = 0; while(!result) @@ -89,7 +89,7 @@ void PitchEffect::read_data(KeyFrame *keyframe) void PitchEffect::save_data(KeyFrame *keyframe) { FileXML output; - output.set_shared_output(keyframe->get_data(), MESSAGESIZE); + output.set_shared_output(keyframe->xbuf); output.tag.set_title("PITCH"); output.tag.set_property("SCALE", config.scale);