Mercurial > hg > sonic-annotator
diff runner/MIDIFeatureWriter.h @ 346:90169412b1a7
Merge from branch by-id
author | Chris Cannam |
---|---|
date | Thu, 18 Jul 2019 14:58:51 +0100 |
parents | 1286914e4fe0 |
children |
line wrap: on
line diff
--- a/runner/MIDIFeatureWriter.h Fri Sep 14 14:55:24 2018 +0100 +++ b/runner/MIDIFeatureWriter.h Thu Jul 18 14:58:51 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(); }