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 /libs/ardour/route.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 'libs/ardour/route.cc')
-rw-r--r-- | libs/ardour/route.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libs/ardour/route.cc b/libs/ardour/route.cc index d37ae725af..b161afa6a5 100644 --- a/libs/ardour/route.cc +++ b/libs/ardour/route.cc @@ -41,7 +41,6 @@ #include <ardour/ladspa_plugin.h> #include <ardour/panner.h> #include <ardour/dB.h> -#include <ardour/mix.h> #include <ardour/amp.h> #include <ardour/meter.h> #include <ardour/buffer_set.h> @@ -507,7 +506,7 @@ Route::process_output_buffers (BufferSet& bufs, for (BufferSet::audio_iterator i = bufs.audio_begin(); i != bufs.audio_end(); ++i) { Sample* const sp = i->data(nframes); - Session::apply_gain_to_buffer(sp,nframes,this_gain); + apply_gain_to_buffer(sp,nframes,this_gain); } } else if (_gain == 0) { |