diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-05-13 21:34:09 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-05-13 21:34:09 +0000 |
commit | 0569107ddc0d2a8df6ca0a2c8cc16ebe8f3dee99 (patch) | |
tree | 81b0a6ffb5cd967d3b205a11ad6d4f8726aa03d2 /libs/ardour/meter.cc | |
parent | 7188ec39903e4cef049468c5a0583d9ec67a290d (diff) |
more work on the new all-Processor-all-The-Time redesign of Route - LOTS OF BREAKAGE STILL EXPECTED ; change all(?) methods that pass a start/end frame in to use sframes_t not nframes_t
git-svn-id: svn://localhost/ardour2/branches/3.0@5074 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/meter.cc')
-rw-r--r-- | libs/ardour/meter.cc | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/libs/ardour/meter.cc b/libs/ardour/meter.cc index d8fee1ac47..371e0c5a90 100644 --- a/libs/ardour/meter.cc +++ b/libs/ardour/meter.cc @@ -38,7 +38,7 @@ namespace ARDOUR { * be set to 0. */ void -PeakMeter::run_in_place (BufferSet& bufs, nframes_t start_frame, nframes_t end_frame, nframes_t nframes) +PeakMeter::run_in_place (BufferSet& bufs, sframes_t start_frame, sframes_t end_frame, nframes_t nframes) { const uint32_t n_audio = min(_configured_input.n_audio(), bufs.count().n_audio()); const uint32_t n_midi = min(_configured_input.n_midi(), bufs.count().n_midi()); @@ -171,15 +171,9 @@ PeakMeter::meter () XMLNode& PeakMeter::state (bool full_state) { - return get_state(); -} - -XMLNode& -PeakMeter::get_state() -{ - XMLNode* node = new XMLNode(state_node_name); - node->add_property("type", "meter"); - return *node; + XMLNode& node (Processor::state (full_state)); + node.add_property("type", "meter"); + return node; } } // namespace ARDOUR |