X-Git-Url: https://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fgain%2Fgain.C;h=75c431a3b5f79a0a7fdbeb907ef092e4f407c83a;hb=21c2e6b36d6a96c2f662a89459d607b5a387f4eb;hp=a83dc029231b446defd54d331401fcb9559c8da8;hpb=5a1b2bb96f2bd6b7ef4f8031763683726c02219d;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/gain/gain.C b/cinelerra-5.1/plugins/gain/gain.C index a83dc029..75c431a3 100644 --- a/cinelerra-5.1/plugins/gain/gain.C +++ b/cinelerra-5.1/plugins/gain/gain.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 "clip.h" @@ -52,10 +52,10 @@ void GainConfig::copy_from(GainConfig &that) this->level = that.level; } -void GainConfig::interpolate(GainConfig &prev, - GainConfig &next, - int64_t prev_frame, - int64_t next_frame, +void GainConfig::interpolate(GainConfig &prev, + GainConfig &next, + int64_t prev_frame, + int64_t next_frame, int64_t current_frame) { double next_scale = (double)(current_frame - prev_frame) / (next_frame - prev_frame); @@ -74,12 +74,12 @@ void GainConfig::interpolate(GainConfig &prev, Gain::Gain(PluginServer *server) : PluginAClient(server) { - + } Gain::~Gain() { - + } const char* Gain::plugin_title() { return _("Gain"); }