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/io.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/io.h')
-rw-r--r-- | libs/ardour/ardour/io.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libs/ardour/ardour/io.h b/libs/ardour/ardour/io.h index 51423e9ab2..5c746d7376 100644 --- a/libs/ardour/ardour/io.h +++ b/libs/ardour/ardour/io.h @@ -96,11 +96,11 @@ class IO : public PBD::StatefulDestructible virtual void silence (nframes_t, nframes_t offset); - void collect_input (BufferSet& bufs, jack_nframes_t nframes, jack_nframes_t offset); - void deliver_output (BufferSet& bufs, jack_nframes_t start_frame, jack_nframes_t end_frame, - jack_nframes_t nframes, jack_nframes_t offset); - void just_meter_input (jack_nframes_t start_frame, jack_nframes_t end_frame, - jack_nframes_t nframes, jack_nframes_t offset); + void collect_input (BufferSet& bufs, nframes_t nframes, nframes_t offset); + void deliver_output (BufferSet& bufs, nframes_t start_frame, nframes_t end_frame, + nframes_t nframes, nframes_t offset); + void just_meter_input (nframes_t start_frame, nframes_t end_frame, + nframes_t nframes, nframes_t offset); virtual void set_gain (gain_t g, void *src); void inc_gain (gain_t delta, void *src); @@ -216,11 +216,11 @@ class IO : public PBD::StatefulDestructible /* automation */ - static void set_automation_interval (jack_nframes_t frames) { + static void set_automation_interval (nframes_t frames) { _automation_interval = frames; } - static jack_nframes_t automation_interval() { + static nframes_t automation_interval() { return _automation_interval; } |