X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fgain.cc;h=a3c27f42605769bb459ef06aa06339cee9f1f349;hb=6be56d78b199452e5dba726f2d7aaab2777d2b49;hp=49596d661480735873e02863a3b08e22d8d382d0;hpb=133a66920bbdd3bc11bd4ae866048b0f1f52ecd4;p=ardour.git diff --git a/libs/ardour/gain.cc b/libs/ardour/gain.cc index 49596d6614..a3c27f4260 100644 --- a/libs/ardour/gain.cc +++ b/libs/ardour/gain.cc @@ -1,5 +1,5 @@ /* - Copyright (C) 2000 Paul Davis + 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 @@ -17,12 +17,12 @@ */ -#include +#include "ardour/gain.h" using namespace ARDOUR; Gain::Gain () - : AutomationList (Parameter(GainAutomation), 0.0, 2.0, 1.0f) /* XXX yuck; clamps gain to -inf .. +6db */ + : AutomationList (Evoral::Parameter(GainAutomation)) /* XXX yuck; clamps gain to -inf .. +6db */ { } @@ -41,21 +41,21 @@ Gain::operator= (const Gain& other) } void -Gain::fill_linear_volume_fade_in (Gain& gain, nframes_t frames) +Gain::fill_linear_volume_fade_in (Gain& /*gain*/, framecnt_t /*frames*/) { } void -Gain::fill_linear_volume_fade_out (Gain& gain, nframes_t frames) +Gain::fill_linear_volume_fade_out (Gain& /*gain*/, framecnt_t /*frames*/) { } void -Gain::fill_linear_fade_in (Gain& gain, nframes_t frames) +Gain::fill_linear_fade_in (Gain& /*gain*/, framecnt_t /*frames*/) { } void -Gain::fill_linear_fade_out (Gain& gain, nframes_t frames) +Gain::fill_linear_fade_out (Gain& /*gain*/, framecnt_t /*frames*/) { }