diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-02-14 22:47:50 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-02-14 22:47:50 +0000 |
commit | c6740a61d766cef183525c1736ecb96496272fc2 (patch) | |
tree | 7f08a97c35bd829993227e7f993deb490fed4c91 /gtk2_ardour/curvetest.cc | |
parent | d56085060908f50be5f49021b04093596004b777 (diff) |
track templates; indent fixes needed and will be forthcoming; minor fix for the curvetest hack
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4565 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/curvetest.cc')
-rw-r--r-- | gtk2_ardour/curvetest.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk2_ardour/curvetest.cc b/gtk2_ardour/curvetest.cc index 63804bd1b4..1f432d17eb 100644 --- a/gtk2_ardour/curvetest.cc +++ b/gtk2_ardour/curvetest.cc @@ -22,6 +22,8 @@ #include <cfloat> #include <unistd.h> +#include <pbd/id.h> + #include <ardour/curve.h> using namespace std; @@ -37,6 +39,11 @@ curvetest (string filename) double minx = DBL_MAX; double maxx = DBL_MIN; + // needed to initialize ID objects/counter used + // by Curve et al. + + PBD::ID::init (); + while (in) { double x, y; |