summaryrefslogtreecommitdiff
path: root/libs/ardour/ardour/smf_source.h
diff options
context:
space:
mode:
authorHans Baier <hansfbaier@googlemail.com>2008-04-08 23:57:59 +0000
committerHans Baier <hansfbaier@googlemail.com>2008-04-08 23:57:59 +0000
commitf39606f985223d211d218799c9e0de1e7c0e7f0c (patch)
tree792d7b0d4bfcbd4eada91b6de6c69b9d38018b80 /libs/ardour/ardour/smf_source.h
parent9228d5dc23e196fb0dc11ef40d8f7517e2395ef5 (diff)
* fixed bug: MIDI region did not sound if its position was less than its start offset
git-svn-id: svn://localhost/ardour2/branches/3.0@3239 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/smf_source.h')
-rw-r--r--libs/ardour/ardour/smf_source.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/ardour/smf_source.h b/libs/ardour/ardour/smf_source.h
index 626aa64def..7c729b10f3 100644
--- a/libs/ardour/ardour/smf_source.h
+++ b/libs/ardour/ardour/smf_source.h
@@ -102,7 +102,7 @@ class SMFSource : public MidiSource {
int init (string idstr, bool must_exist);
- nframes_t read_unlocked (MidiRingBuffer& dst, nframes_t start, nframes_t cn, nframes_t stamp_offset) const;
+ nframes_t read_unlocked (MidiRingBuffer& dst, nframes_t start, nframes_t cn, nframes_t stamp_offset, nframes_t negative_stamp_offset) const;
nframes_t write_unlocked (MidiRingBuffer& dst, nframes_t cnt);
bool find (std::string path, bool must_exist, bool& is_new);