summaryrefslogtreecommitdiff
path: root/src/inputprocessor.h
diff options
context:
space:
mode:
authorTheMarlboroMan <marlborometal@gmail.com>2020-01-27 18:37:01 +0100
committerTheMarlboroMan <marlborometal@gmail.com>2020-01-27 18:37:01 +0100
commitfde5c6661d296a79d6d6a8a1bcd888d2182deb8d (patch)
tree48d9dc7dc143927c05a46f3edb7632745067cfe5 /src/inputprocessor.h
parentc4e4a3f0faf756262e306984ddb56c262bfb087c (diff)
Small changes to source, added disposable logger, basic functionality, untestedthe-marlboro-man-experimental
Diffstat (limited to 'src/inputprocessor.h')
-rw-r--r--src/inputprocessor.h6
1 files changed, 5 insertions, 1 deletions
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<std::unique_ptr<InputFilter>> filters;
Settings& settings;
+
+ size_t insert_group_id; ///< Identifier for all Events added in all different channels from the same event_t.
};