diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-24 12:03:13 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2017-09-24 12:03:13 -0400 |
commit | 9283bee867ce788465f3e48ed889cd324e098e64 (patch) | |
tree | 6532f82c94b9cc668d4bdc43363e3021836fc7ce | |
parent | 48d402c960e13556e8608a36d00d0338c733b5e4 (diff) |
new header file for audio-based time types
-rw-r--r-- | libs/evoral/src/types.cpp | 29 | ||||
-rw-r--r-- | libs/temporal/temporal/types.h | 2 |
2 files changed, 1 insertions, 30 deletions
diff --git a/libs/evoral/src/types.cpp b/libs/evoral/src/types.cpp deleted file mode 100644 index 24adf9c5c3..0000000000 --- a/libs/evoral/src/types.cpp +++ /dev/null @@ -1,29 +0,0 @@ -/* 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/Beats.hpp" -#include "evoral/types.hpp" - -namespace Evoral { - -const Beats MaxBeats = Evoral::Beats(DBL_MAX); -const Beats MinBeats = Evoral::Beats(DBL_MIN); - -} diff --git a/libs/temporal/temporal/types.h b/libs/temporal/temporal/types.h index 1d19245ec8..34b69e9c64 100644 --- a/libs/temporal/temporal/types.h +++ b/libs/temporal/temporal/types.h @@ -21,7 +21,7 @@ #include <stdint.h> -namespace PBD { +namespace Temporal { /* Any position measured in audio samples. Assumed to be non-negative but not enforced. |