diff options
author | Carl Hetherington <carl@carlh.net> | 2010-12-03 22:26:29 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-12-03 22:26:29 +0000 |
commit | 73192bc1a7ea55fa1864dc3826845b15c00dd2ec (patch) | |
tree | c0039f3f5a848aed6e880abf11519dad855fa899 /libs/ardour/ardour/midi_port.h | |
parent | 74b4a3c77b08dc1e58274875604eb73e8492fa93 (diff) |
Remove all use of nframes_t.
git-svn-id: svn://localhost/ardour2/branches/3.0@8166 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/midi_port.h')
-rw-r--r-- | libs/ardour/ardour/midi_port.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libs/ardour/ardour/midi_port.h b/libs/ardour/ardour/midi_port.h index 8b6095c470..7a019e5a20 100644 --- a/libs/ardour/ardour/midi_port.h +++ b/libs/ardour/ardour/midi_port.h @@ -37,20 +37,20 @@ class MidiPort : public Port { return DataType::MIDI; } - void cycle_start (nframes_t nframes); - void cycle_end (nframes_t nframes); + void cycle_start (pframes_t nframes); + void cycle_end (pframes_t nframes); void cycle_split (); - void flush_buffers (nframes_t nframes, framepos_t time, nframes_t offset = 0); + void flush_buffers (pframes_t nframes, framepos_t time, framecnt_t offset = 0); void transport_stopped (); - size_t raw_buffer_size(jack_nframes_t nframes) const; + size_t raw_buffer_size (pframes_t nframes) const; - Buffer& get_buffer (nframes_t nframes, nframes_t offset = 0) { + Buffer& get_buffer (framecnt_t nframes, framecnt_t offset = 0) { return get_midi_buffer (nframes, offset); } - MidiBuffer& get_midi_buffer (nframes_t nframes, nframes_t offset = 0); + MidiBuffer& get_midi_buffer (framecnt_t nframes, framecnt_t offset = 0); protected: friend class AudioEngine; |