summaryrefslogtreecommitdiff
path: root/test/dgreftest
diff options
context:
space:
mode:
Diffstat (limited to 'test/dgreftest')
-rw-r--r--test/dgreftest/Makefile.am2
-rw-r--r--test/dgreftest/midiinputengine.cc4
2 files changed, 3 insertions, 3 deletions
diff --git a/test/dgreftest/Makefile.am b/test/dgreftest/Makefile.am
index 3884250..51b7825 100644
--- a/test/dgreftest/Makefile.am
+++ b/test/dgreftest/Makefile.am
@@ -9,7 +9,7 @@ dgreftest_LDADD = $(PTHREAD_LIBS) $(JACK_LIBS) \
dgreftest_LDFLAGS =
dgreftest_CXXFLAGS = $(SNDFILE_CXXFLAGS) $(PTHREAD_CFLAGS) \
- -I$(top_srcdir)/include -I$(top_srcdir)/src \
+ -I$(top_srcdir)/src \
-I$(top_srcdir)/hugin -DWITH_HUG_MUTEX -DWITH_HUG_FILTER \
$(JACK_CFLAGS) $(SSEFLAGS) $(SMF_CFLAGS) $(FLOAT_STORE)
diff --git a/test/dgreftest/midiinputengine.cc b/test/dgreftest/midiinputengine.cc
index e984d58..ca223da 100644
--- a/test/dgreftest/midiinputengine.cc
+++ b/test/dgreftest/midiinputengine.cc
@@ -157,7 +157,7 @@ void MidifileInputEngine::run(size_t pos, size_t len, std::vector<event_t>& even
events.emplace_back();
auto& event = events.back();
- event.type = TYPE_ONSET;
+ event.type = EventType::OnSet;
size_t evpos = current_event->time_seconds * (samplerate / speed);
event.offset = evpos - pos;
@@ -183,7 +183,7 @@ void MidifileInputEngine::run(size_t pos, size_t len, std::vector<event_t>& even
else
{
assert(len >= 1);
- events.push_back({TYPE_STOP, 0, len-1, 0.f});
+ events.push_back({EventType::Stop, 0, len-1, 0.f});
}
}
}