summaryrefslogtreecommitdiff
path: root/src/inputprocessor.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-10-08 20:50:52 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-10-08 20:50:52 +0200
commita21ab2d9260bd4cb1af1de0b8cd4cad9e9687861 (patch)
tree4b449b45a05e2a5bd33859eaa2c7b1e7cf1bcca6 /src/inputprocessor.cc
parent30c2b53047b11b1517fa44b49adc52bc5119649c (diff)
Move event.h and audiotypes.h into src and get rid of the obsolete include folder.
Diffstat (limited to 'src/inputprocessor.cc')
-rw-r--r--src/inputprocessor.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inputprocessor.cc b/src/inputprocessor.cc
index 0adc389..c004933 100644
--- a/src/inputprocessor.cc
+++ b/src/inputprocessor.cc
@@ -57,7 +57,7 @@ bool InputProcessor::process(std::vector<event_t>& events,
{
for(auto& event: events)
{
- if(event.type == TYPE_ONSET)
+ if(event.type == EventType::OnSet)
{
if(!processOnset(event, pos, resample_ratio))
{
@@ -181,7 +181,7 @@ bool InputProcessor::processOnset(event_t& event,
bool InputProcessor::processStop(event_t& event)
{
- if(event.type == TYPE_STOP)
+ if(event.type == EventType::Stop)
{
is_stopping = true;
}