X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fvocoder%2Fvocoder.C;h=5987558e228a0efa83db10f878898bfc2b3b2ffe;hb=refs%2Fheads%2Fmaster;hp=8e1172963b8b73dfb8b3581003543d4083584234;hpb=723142d62d61cde588e961426440f839ca9dcda9;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/vocoder/vocoder.C b/cinelerra-5.1/plugins/vocoder/vocoder.C index 8e117296..5987558e 100644 --- a/cinelerra-5.1/plugins/vocoder/vocoder.C +++ b/cinelerra-5.1/plugins/vocoder/vocoder.C @@ -367,7 +367,7 @@ int Vocoder::is_multichannel() { return 1; } void Vocoder::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) @@ -390,7 +390,7 @@ void Vocoder::read_data(KeyFrame *keyframe) void Vocoder::save_data(KeyFrame *keyframe) { FileXML output; - output.set_shared_output(keyframe->get_data(), MESSAGESIZE); + output.set_shared_output(keyframe->xbuf); output.tag.set_title("VOCODER"); output.tag.set_property("WETNESS", config.wetness);