X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fgain.cc;h=6f2161f5782609761d4f3c6090d4a39e47e413a7;hb=ad547e53fc168410b22628a8cb125e8d4da4b293;hp=49596d661480735873e02863a3b08e22d8d382d0;hpb=449aab3c465bbbf66d221fac3d7ea559f1720357;p=ardour.git diff --git a/libs/ardour/gain.cc b/libs/ardour/gain.cc index 49596d6614..6f2161f578 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*/, nframes_t /*frames*/) { } void -Gain::fill_linear_volume_fade_out (Gain& gain, nframes_t frames) +Gain::fill_linear_volume_fade_out (Gain& /*gain*/, nframes_t /*frames*/) { } void -Gain::fill_linear_fade_in (Gain& gain, nframes_t frames) +Gain::fill_linear_fade_in (Gain& /*gain*/, nframes_t /*frames*/) { } void -Gain::fill_linear_fade_out (Gain& gain, nframes_t frames) +Gain::fill_linear_fade_out (Gain& /*gain*/, nframes_t /*frames*/) { }