diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-19 17:05:22 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-10-19 17:05:22 +0000 |
commit | 539a692b0e9d249cab75a2d1c255f8cbef8bcf6b (patch) | |
tree | 9c40db2f5651a57bd90e034c8750209915db2363 /libs/ardour/ardour/smf_source.h | |
parent | a86b994c683b981c395f829082abef67add2424a (diff) |
track notes at the region level in MidiPlaylist; resolve them (deliver note offs) if a note spans the end of the region
git-svn-id: svn://localhost/ardour2/branches/3.0@5804 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/smf_source.h')
-rw-r--r-- | libs/ardour/ardour/smf_source.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/libs/ardour/ardour/smf_source.h b/libs/ardour/ardour/smf_source.h index fbaa049d8a..7793b6a91c 100644 --- a/libs/ardour/ardour/smf_source.h +++ b/libs/ardour/ardour/smf_source.h @@ -71,12 +71,13 @@ public: private: nframes_t read_unlocked (MidiRingBuffer<nframes_t>& dst, - sframes_t position, - sframes_t start, - nframes_t cnt, - sframes_t stamp_offset, - sframes_t negative_stamp_offset) const; - + 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); |