diff options
author | Sakari Bergen <sakari.bergen@beatwaves.net> | 2009-12-31 14:03:30 +0000 |
---|---|---|
committer | Sakari Bergen <sakari.bergen@beatwaves.net> | 2009-12-31 14:03:30 +0000 |
commit | 78b6543ba9bc7028c5cfcdd9695d2e9992660924 (patch) | |
tree | b77d01706fdfeb10f268ba003ef67b742979ba9e /libs/ardour/globals.cc | |
parent | b194253b1eb850b37b430b90cc83224cf8b94ed1 (diff) |
Fix AudioGrapher library installation path and enable H/W optimizations in AudioGrapher
git-svn-id: svn://localhost/ardour2/branches/3.0@6418 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/globals.cc')
-rw-r--r-- | libs/ardour/globals.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/globals.cc b/libs/ardour/globals.cc index b2f71ca6e6..125c0a8322 100644 --- a/libs/ardour/globals.cc +++ b/libs/ardour/globals.cc @@ -76,6 +76,8 @@ #include "ardour/source_factory.h" #include "ardour/utils.h" +#include "audiographer/routines.h" + #if defined (__APPLE__) #include <Carbon/Carbon.h> // For Gestalt #endif @@ -254,6 +256,9 @@ setup_hardware_optimization (bool try_optimization) info << "No H/W specific optimizations in use" << endmsg; } + + AudioGrapher::Routines::override_compute_peak (compute_peak); + AudioGrapher::Routines::override_apply_gain_to_buffer (apply_gain_to_buffer); } static void |