13
0

Remove unused code.

git-svn-id: svn://localhost/ardour2/branches/3.0@11289 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Carl Hetherington 2012-01-21 02:42:53 +00:00
parent 5a53f2f1b9
commit 17e6f1952e
6 changed files with 1 additions and 107 deletions

View File

@ -28,7 +28,7 @@
#include "ardour/ardour.h"
#include "ardour/automatable.h"
#include "ardour/gain.h"
#include "ardour/automation_list.h"
#include "ardour/logcurve.h"
#include "ardour/region.h"

View File

@ -1,42 +0,0 @@
/*
Copyright (C) 2000 Paul Davis
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., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#ifndef __ardour_gain_h__
#define __ardour_gain_h__
#include "ardour.h"
#include "automation_list.h"
namespace ARDOUR {
struct Gain : public AutomationList
{
Gain ();
Gain (const Gain&);
Gain& operator= (const Gain&);
static void fill_linear_fade_in (Gain& curve, framecnt_t frames);
static void fill_linear_volume_fade_in (Gain& curve, framecnt_t frames);
static void fill_linear_fade_out (Gain& curve, framecnt_t frames);
static void fill_linear_volume_fade_out (Gain& curve, framecnt_t frames);
};
} /* namespace ARDOUR */
#endif /* __ardour_gain_h__ */

View File

@ -39,7 +39,6 @@
#include "ardour/audioregion.h"
#include "ardour/debug.h"
#include "ardour/session.h"
#include "ardour/gain.h"
#include "ardour/dB.h"
#include "ardour/playlist.h"
#include "ardour/audiofilesource.h"

View File

@ -1,61 +0,0 @@
/*
Copyright (C) 2000 Paul Davis
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., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
#include "ardour/gain.h"
using namespace ARDOUR;
Gain::Gain ()
: AutomationList (Evoral::Parameter(GainAutomation)) /* XXX yuck; clamps gain to -inf .. +6db */
{
}
Gain::Gain (const Gain& other)
: AutomationList (other)
{
}
Gain&
Gain::operator= (const Gain& other)
{
if (this != &other) {
AutomationList::operator= (other);
}
return *this;
}
void
Gain::fill_linear_volume_fade_in (Gain& /*gain*/, framecnt_t /*frames*/)
{
}
void
Gain::fill_linear_volume_fade_out (Gain& /*gain*/, framecnt_t /*frames*/)
{
}
void
Gain::fill_linear_fade_in (Gain& /*gain*/, framecnt_t /*frames*/)
{
}
void
Gain::fill_linear_fade_out (Gain& /*gain*/, framecnt_t /*frames*/)
{
}

View File

@ -32,7 +32,6 @@
#include "ardour/automation_control.h"
#include "ardour/dB.h"
#include "ardour/gain.h"
#include "ardour/midi_model.h"
#include "ardour/midi_region.h"
#include "ardour/midi_ring_buffer.h"

View File

@ -103,7 +103,6 @@ libardour_sources = [
'filesystem_paths.cc',
'filter.cc',
'find_session.cc',
'gain.cc',
'globals.cc',
'graph.cc',
'graphnode.cc',