diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2007-05-02 15:21:51 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2007-05-02 15:21:51 +0000 |
commit | c3e666867cfd44768c9aa605abefde78274ace24 (patch) | |
tree | 547fb2300f0b384387647936c13d6672385aa0e7 /gtk2_ardour/editor_ops.cc | |
parent | a612857eb6024f75f11094d09def4ccbe621b7b4 (diff) |
reintroduce use of optimized functions for gain into buffer code, and cleanup the way they are declared to avoid depending on Session
git-svn-id: svn://localhost/ardour2/branches/midi@1775 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_ops.cc')
-rw-r--r-- | gtk2_ardour/editor_ops.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk2_ardour/editor_ops.cc b/gtk2_ardour/editor_ops.cc index 95e0b5d255..b352ee7110 100644 --- a/gtk2_ardour/editor_ops.cc +++ b/gtk2_ardour/editor_ops.cc @@ -2835,7 +2835,7 @@ Editor::cut_copy_regions (CutCopyOp op) case Copy: /* copy region before adding, so we're not putting same object into two different playlists */ - npl->add_region (RegionFactory::create (r, r->position() - first_position); + npl->add_region (RegionFactory::create (r), r->position() - first_position); break; case Clear: |