diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-05-03 23:28:57 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-05-03 23:28:57 +0000 |
commit | a8da89d745c6a7e7d4c20dfcfb16b2537d767428 (patch) | |
tree | 06fb6cc1795ef89a7ed847395c550b6215e253df /libs/ardour/ardour/midi_port.h | |
parent | 5a1ca70f07aeb999ba3f0f09dbd49f1d50505f3c (diff) |
optimize some performance bottlenecks; remove jack_nframes_t that crept back into the code
git-svn-id: svn://localhost/ardour2/branches/midi@1779 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ardour/midi_port.h')
-rw-r--r-- | libs/ardour/ardour/midi_port.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/ardour/ardour/midi_port.h b/libs/ardour/ardour/midi_port.h index 1abfd80932..f2b734a903 100644 --- a/libs/ardour/ardour/midi_port.h +++ b/libs/ardour/ardour/midi_port.h @@ -47,7 +47,7 @@ class MidiPort : public Port { return _buffer; } - void cycle_start(jack_nframes_t nframes); + void cycle_start(nframes_t nframes); void cycle_end(); size_t capacity() { return _buffer.capacity(); } @@ -61,7 +61,7 @@ class MidiPort : public Port { /* engine isn't supposed to access below here */ MidiBuffer _buffer; - jack_nframes_t _nframes_this_cycle; + nframes_t _nframes_this_cycle; }; } // namespace ARDOUR |