diff options
author | Carl Hetherington <carl@carlh.net> | 2010-09-01 01:50:24 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-09-01 01:50:24 +0000 |
commit | f645b4119e4f2b03d5cd24618253e2f8b4140262 (patch) | |
tree | bbd4832eb7cf8fab4d9815c46f50d385abb05f2d /libs/ardour/ardour | |
parent | 61af48d18e188d9b0cf8e68515962995912b2e6b (diff) |
Clean up MidiSource::midi_read now that the signed type sframes_t is being used to pass positions around.
git-svn-id: svn://localhost/ardour2/branches/3.0@7726 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour')
-rw-r--r-- | libs/ardour/ardour/midi_source.h | 5 | ||||
-rw-r--r-- | libs/ardour/ardour/smf_source.h | 2 |
2 files changed, 0 insertions, 7 deletions
diff --git a/libs/ardour/ardour/midi_source.h b/libs/ardour/ardour/midi_source.h index 5afcc20255..71c4eaca6d 100644 --- a/libs/ardour/ardour/midi_source.h +++ b/libs/ardour/ardour/midi_source.h @@ -56,15 +56,11 @@ class MidiSource : virtual public Source * \param source_start Start position of the SOURCE in this read context * \param start Start of range to be read * \param cnt Length of range to be read (in audio frames) - * \param stamp_offset Offset to add to event times written to dst - * \param negative_stamp_offset Offset to subtract from event times written to dst * \param tracker an optional pointer to MidiStateTracker object, for note on/off tracking */ virtual nframes_t midi_read (Evoral::EventSink<nframes_t>& dst, sframes_t source_start, sframes_t start, nframes_t cnt, - sframes_t stamp_offset, - sframes_t negative_stamp_offset, MidiStateTracker*, std::set<Evoral::Parameter> const &) const; @@ -140,7 +136,6 @@ class MidiSource : virtual public Source virtual 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 = 0; virtual nframes_t write_unlocked (MidiRingBuffer<nframes_t>& dst, diff --git a/libs/ardour/ardour/smf_source.h b/libs/ardour/ardour/smf_source.h index 956fb6c75f..ab62a2d211 100644 --- a/libs/ardour/ardour/smf_source.h +++ b/libs/ardour/ardour/smf_source.h @@ -77,8 +77,6 @@ public: 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, |