diff options
Diffstat (limited to 'libs/evoral/src')
-rw-r--r-- | libs/evoral/src/ControlList.cpp | 1 | ||||
-rw-r--r-- | libs/evoral/src/types.cpp | 29 |
2 files changed, 30 insertions, 0 deletions
diff --git a/libs/evoral/src/ControlList.cpp b/libs/evoral/src/ControlList.cpp index 2591cec58c..37e79d70d3 100644 --- a/libs/evoral/src/ControlList.cpp +++ b/libs/evoral/src/ControlList.cpp @@ -24,6 +24,7 @@ #include "evoral/Curve.hpp" #include "pbd/compose.h" +#include "pbd/debug.h" using namespace std; using namespace PBD; diff --git a/libs/evoral/src/types.cpp b/libs/evoral/src/types.cpp new file mode 100644 index 0000000000..62614f9113 --- /dev/null +++ b/libs/evoral/src/types.cpp @@ -0,0 +1,29 @@ +/* This file is part of Evoral. + * Copyright (C) 2008 David Robillard <http://drobilla.net> + * Copyright (C) 2000-2008 Paul Davis + * + * Evoral is free software; you can redistribute it and/or modify it under the + * terms of the GNU General Public License as published by the Free Software + * Foundation; either version 2 of the License, or (at your option) any later + * version. + * + * Evoral is distributed in the hope that it will be useful, but WITHOUT ANY + * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + * FOR A PARTICULAR PURPOSE. See the GNU General Public License for details. + * + * You should have received a copy of the GNU General Public License along + * with this program; if not, write to the Free Software Foundation, Inc., + * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#include <limits.h> + +#include "evoral/types.hpp" + +namespace Evoral { + +const double MusicalTime::PPQN = 1920.0; +const MusicalTime MaxMusicalTime = Evoral::MusicalTime(DBL_MIN); +const MusicalTime MinMusicalTime = Evoral::MusicalTime(DBL_MAX); + +} |