X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fcinelerra%2Fvpluginarray.C;h=285a13cb041c82d0c28c31a649ec76f6843c96bc;hb=9a16c85641dee9f15136f40c8a3195d88d45513f;hp=b5118ce9a10a2837ec84d09181ed4d9629d2cf75;hpb=05bf5047966713579bd8e7a692fda3b49bc43450;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/cinelerra/vpluginarray.C b/cinelerra-5.1/cinelerra/vpluginarray.C index b5118ce9..285a13cb 100644 --- a/cinelerra-5.1/cinelerra/vpluginarray.C +++ b/cinelerra-5.1/cinelerra/vpluginarray.C @@ -2,21 +2,21 @@ /* * CINELERRA * Copyright (C) 2008 Adam Williams - * + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. - * + * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. - * + * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA - * + * */ #include "asset.h" @@ -94,13 +94,13 @@ void VPluginArray::create_modules() } -void VPluginArray::process_realtime(int module, - int64_t input_position, +void VPluginArray::process_realtime(int module, + int64_t input_position, int64_t len) { int ibfr = module % file->asset->layers; - values[module]->process_buffer(realtime_buffers[ibfr], - input_position, + values[module]->process_buffer(realtime_buffers[ibfr], + input_position, edl->session->frame_rate, end - start, PLAY_FORWARD);