diff options
author | David Robillard <d@drobilla.net> | 2006-08-14 23:29:01 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2006-08-14 23:29:01 +0000 |
commit | 5952c48a848926edb02b5d630e36cc461c893964 (patch) | |
tree | 2e1126d7cfb015f37222eff2523766c759608241 /libs/ardour/ardour/smf_source.h | |
parent | d752986314eb37151983393c1d62efefe503e47c (diff) |
More solid "fake" recording and serialization
git-svn-id: svn://localhost/ardour2/branches/midi@825 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/smf_source.h')
-rw-r--r-- | libs/ardour/ardour/smf_source.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libs/ardour/ardour/smf_source.h b/libs/ardour/ardour/smf_source.h index abb52456e3..d5bcd3ee4c 100644 --- a/libs/ardour/ardour/smf_source.h +++ b/libs/ardour/ardour/smf_source.h @@ -27,6 +27,8 @@ namespace ARDOUR { +class MidiBuffer; + /** Standard Midi File (Type 0) Source */ class SMFSource : public MidiSource { public: @@ -86,8 +88,8 @@ class SMFSource : public MidiSource { int init (string idstr, bool must_exist); - jack_nframes_t read_unlocked (RawMidi* dst, jack_nframes_t start, jack_nframes_t cn) const; - jack_nframes_t write_unlocked (RawMidi* dst, jack_nframes_t cnt); + jack_nframes_t read_unlocked (MidiBuffer& dst, jack_nframes_t start, jack_nframes_t cn) const; + jack_nframes_t write_unlocked (MidiBuffer& dst, jack_nframes_t cnt); bool find (std::string path, bool must_exist, bool& is_new); bool removable() const; |