X-Git-Url: http://git.cinelerra-gg.org/git/?a=blobdiff_plain;f=cinelerra-5.1%2Fplugins%2Fdcoffset%2Fdcoffset.C;h=9fca5cc7a74dfb8b6ced2f64c4702cc379e0a608;hb=09ccfde5a1fd65069f69b37490462b7ccf38a336;hp=8702ba5fb080ea5c43cff0a566cd602f62caa98c;hpb=30bdb85eb33a8ee7ba675038a86c6be59c43d7bd;p=goodguy%2Fhistory.git diff --git a/cinelerra-5.1/plugins/dcoffset/dcoffset.C b/cinelerra-5.1/plugins/dcoffset/dcoffset.C index 8702ba5f..9fca5cc7 100644 --- a/cinelerra-5.1/plugins/dcoffset/dcoffset.C +++ b/cinelerra-5.1/plugins/dcoffset/dcoffset.C @@ -2,21 +2,21 @@ /* * CINELERRA * Copyright (C) 2009 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" @@ -56,12 +56,12 @@ DCOffset::~DCOffset() delete reference; } -const char* DCOffset::plugin_title() { return _("DC Offset"); } +const char* DCOffset::plugin_title() { return N_("DC Offset"); } int DCOffset::is_realtime() { return 1; } -int DCOffset::process_buffer(int64_t size, +int DCOffset::process_buffer(int64_t size, Samples *buffer, int64_t start_position, int sample_rate) @@ -69,7 +69,7 @@ int DCOffset::process_buffer(int64_t size, load_configuration(); double *buffer_samples = buffer->get_data(); double *reference_samples = !reference ? 0 : reference->get_data(); - + if(need_collection) { if(!reference) {