40 Amp(
Session& s,
const std::string& display_name, std::shared_ptr<GainControl> control,
bool control_midi_also);
void setup_gain_automation(samplepos_t start_sample, samplepos_t end_sample, samplecnt_t nframes)
bool configure_io(ChanCount in, ChanCount out)
std::string _display_name
samplepos_t _current_automation_sample
void set_display_name(const std::string &name)
static void apply_simple_gain(BufferSet &bufs, samplecnt_t nframes, gain_t target, bool midi_amp=true)
void set_gain_automation_buffer(gain_t *)
bool can_support_io_configuration(const ChanCount &in, ChanCount &out)
gain_t * _gain_automation_buffer
std::shared_ptr< const GainControl > gain_control() const
std::shared_ptr< GainControl > _gain_control
std::string display_name() const
std::shared_ptr< GainControl > gain_control()
void run(BufferSet &bufs, samplepos_t start_sample, samplepos_t end_sample, double speed, pframes_t nframes, bool)
int set_state(const XMLNode &, int version)
bool _apply_gain_automation
static gain_t apply_gain(AudioBuffer &buf, samplecnt_t sample_rate, samplecnt_t nframes, gain_t initial, gain_t target, sampleoffset_t offset=0)
static gain_t apply_gain(BufferSet &bufs, samplecnt_t sample_rate, samplecnt_t nframes, gain_t initial, gain_t target, bool midi_amp=true)
static void apply_simple_gain(AudioBuffer &buf, samplecnt_t nframes, gain_t target, sampleoffset_t offset=0)
Amp(Session &s, const std::string &display_name, std::shared_ptr< GainControl > control, bool control_midi_also)
GtkImageIconNameData name
Temporal::samplecnt_t samplecnt_t
Temporal::sampleoffset_t sampleoffset_t
Temporal::samplepos_t samplepos_t