Mercurial > hg > sonic-annotator
diff runner/MIDIFeatureWriter.h @ 345:1286914e4fe0 by-id
Update to compatibility with by-id branch of svcore
author | Chris Cannam |
---|---|
date | Tue, 09 Jul 2019 10:30:41 +0100 |
parents | e39307a8d22d |
children |
line wrap: on
line diff
--- a/runner/MIDIFeatureWriter.h Mon Feb 04 10:21:20 2019 +0000 +++ b/runner/MIDIFeatureWriter.h Tue Jul 09 10:30:41 2019 +0100 @@ -14,11 +14,12 @@ COPYING included with this distribution for more information. */ -#ifndef _MIDI_FEATURE_WRITER_H_ -#define _MIDI_FEATURE_WRITER_H_ +#ifndef MIDI_FEATURE_WRITER_H +#define MIDI_FEATURE_WRITER_H #include "transform/FileFeatureWriter.h" -#include "data/model/NoteData.h" +#include "base/NoteData.h" +#include "base/NoteExportable.h" class MIDIFileWriter; @@ -52,7 +53,11 @@ virtual NoteList getNotes() const { return m_notes; } - virtual NoteList getNotesWithin(sv_frame_t, sv_frame_t) const { + virtual NoteList getNotesActiveAt(sv_frame_t) const { + // Not required by MIDIFileWriter, not supported + return NoteList(); + } + virtual NoteList getNotesStartingWithin(sv_frame_t, sv_frame_t) const { // Not required by MIDIFileWriter, not supported return NoteList(); }