X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Flevel%2Fleveleffect.C;h=8f70e467b68ced465f7f88b430f0f3546532df9d;hb=09ccfde5a1fd65069f69b37490462b7ccf38a336;hp=e08f1263864fab4d7d452978b832538b1cc74ce3;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/level/leveleffect.C b/cinelerra-5.1/plugins/level/leveleffect.C index e08f1263..8f70e467 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() { - + } @@ -193,7 +193,7 @@ void SoundLevelEffect::reset() accum_size = 0; } -const char* SoundLevelEffect::plugin_title() { return _("SoundLevel"); } +const char* SoundLevelEffect::plugin_title() { return N_("SoundLevel"); } int SoundLevelEffect::is_realtime() { return 1; }