tweak TriggerBox API

This commit is contained in:
Paul Davis 2021-07-17 16:06:46 -06:00
parent e9401a945f
commit b8e38ed777
2 changed files with 3 additions and 3 deletions

View file

@ -67,7 +67,7 @@ class LIBARDOUR_API AudioTrigger : public Trigger {
class LIBARDOUR_API TriggerBox : public Processor
{
public:
TriggerBox (Session&, std::string const & name);
TriggerBox (Session&);
~TriggerBox ();
void run (BufferSet& bufs, samplepos_t start_sample, samplepos_t end_sample, double speed, pframes_t nframes, bool result_required);

View file

@ -13,8 +13,8 @@ using std::string;
using std::cerr;
using std::endl;
TriggerBox::TriggerBox (Session& s, std::string const & name)
: Processor (s, name, Temporal::BeatTime)
TriggerBox::TriggerBox (Session& s)
: Processor (s, _("TriggerBox"), Temporal::BeatTime)
, _trigger_queue (1024)
{
PropertyList plist;