From fde5c6661d296a79d6d6a8a1bcd888d2182deb8d Mon Sep 17 00:00:00 2001 From: TheMarlboroMan Date: Mon, 27 Jan 2020 18:37:01 +0100 Subject: Small changes to source, added disposable logger, basic functionality, untested --- src/inputprocessor.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/inputprocessor.h') diff --git a/src/inputprocessor.h b/src/inputprocessor.h index 2101a25..5516146 100644 --- a/src/inputprocessor.h +++ b/src/inputprocessor.h @@ -3,7 +3,7 @@ * inputprocessor.h * * Sat Apr 23 20:39:30 CEST 2016 - * Copyright 2016 André Nusser + * Copyright 2016 Andr� Nusser * andre.nusser@googlemail.com ****************************************************************************/ @@ -61,8 +61,12 @@ private: bool processOnset(event_t& event, std::size_t pos, double resample_ratio); bool processChoke(event_t& event, std::size_t pos, double resample_ratio); bool processStop(event_t& event); + void applyVoiceLimit(const event_t& event, size_t max_voices); + size_t getMaxVoicesForInstrument(size_t instrument_id) const; std::vector> filters; Settings& settings; + + size_t insert_group_id; ///< Identifier for all Events added in all different channels from the same event_t. }; -- cgit v1.2.3