Use nframes_t for timestamps of real (jack) time MIDI events (i.e. in MidiBuffer...
[ardour.git] / libs / ardour / ardour / smf_source.h
index 9981408abc9d4d9163338612ec3d1a4aadf14437..ccc03acd667102ab61d701336aae19534107b56c 100644 (file)
@@ -102,14 +102,14 @@ class SMFSource : public MidiSource, public Evoral::SMF<double> {
        int init (string idstr, bool must_exist);
 
        nframes_t read_unlocked (
-                       MidiRingBuffer<double>& dst,
+                       MidiRingBuffer<nframes_t>& dst,
                        nframes_t start,
                        nframes_t cn,
                        nframes_t stamp_offset,
                        nframes_t negative_stamp_offset) const;
 
        nframes_t write_unlocked (
-                       MidiRingBuffer<double>& src,
+                       MidiRingBuffer<nframes_t>& src,
                        nframes_t cnt);
 
        bool find (std::string path, bool must_exist, bool& is_new);