class SMFSource : public MidiSource, public FileSource, public Evoral::SMF {
public:
/** Constructor for existing external-to-session files */
- SMFSource (Session& session, const Glib::ustring& path, bool embedded,
+ SMFSource (Session& session, const Glib::ustring& path,
Source::Flag flags = Source::Flag(0));
/** Constructor for existing in-session files */
static bool safe_midi_file_extension (const Glib::ustring& path);
private:
- nframes_t read_unlocked (MidiRingBuffer<nframes_t>& dst,
+ nframes_t read_unlocked (Evoral::EventSink<nframes_t>& dst,
sframes_t position,
sframes_t start,
nframes_t cnt,
sframes_t stamp_offset,
sframes_t negative_stamp_offset,
MidiStateTracker* tracker) const;
-
+
nframes_t write_unlocked (MidiRingBuffer<nframes_t>& src,
sframes_t position,
nframes_t cnt);