X-Git-Url: http://git.cinelerra-gg.org/git/?p=goodguy%2Fhistory.git;a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Flevel%2Fleveleffect.C;h=30b2a34d84646f93d84e1ce80b3c8416a5ff6195;hp=e08f1263864fab4d7d452978b832538b1cc74ce3;hb=21c2e6b36d6a96c2f662a89459d607b5a387f4eb;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd diff --git a/cinelerra-5.1/plugins/level/leveleffect.C b/cinelerra-5.1/plugins/level/leveleffect.C index e08f1263..30b2a34d 100644 --- a/cinelerra-5.1/plugins/level/leveleffect.C +++ b/cinelerra-5.1/plugins/level/leveleffect.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 "bcdisplayinfo.h" @@ -69,10 +69,10 @@ int SoundLevelConfig::equivalent(SoundLevelConfig &that) return EQUIV(duration, that.duration); } -void SoundLevelConfig::interpolate(SoundLevelConfig &prev, - SoundLevelConfig &next, - int64_t prev_frame, - int64_t next_frame, +void SoundLevelConfig::interpolate(SoundLevelConfig &prev, + SoundLevelConfig &next, + int64_t prev_frame, + int64_t next_frame, int64_t current_frame) { duration = prev.duration; @@ -109,10 +109,10 @@ int SoundLevelDuration::handle_event() SoundLevelWindow::SoundLevelWindow(SoundLevelEffect *plugin) - : PluginClientWindow(plugin, - 350, - 120, - 350, + : PluginClientWindow(plugin, + 350, + 120, + 350, 120, 0) { @@ -170,13 +170,13 @@ void SoundLevelWindow::create_objects() SoundLevelEffect::SoundLevelEffect(PluginServer *server) : PluginAClient(server) { - + reset(); } SoundLevelEffect::~SoundLevelEffect() { - + }