/*
Copyright (C) 2009 Paul Davis
- Author: Dave Robillard
+ Author: David Robillard
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
#include "pbd/stateful.h"
#include "ardour/ardour.h"
-#include "ardour/audioengine.h"
#include "ardour/io_processor.h"
namespace ARDOUR {
class Amp;
class PeakMeter;
+
class Return : public IOProcessor
{
public:
bool configure_io (ChanCount in, ChanCount out);
static uint32_t how_many_returns();
- static void make_unique (XMLNode &, Session &);
+ static std::string name_and_id_new_return (Session&, uint32_t&);
protected:
bool _metering;
uint32_t _bitslot;
void collect_input (BufferSet& bufs, pframes_t nframes, ChanCount offset = ChanCount::ZERO);
- void just_meter_input (framepos_t start_frame, framepos_t end_frame, pframes_t nframes);
};
} // namespace ARDOUR