new header file for audio-based time types
authorPaul Davis <paul@linuxaudiosystems.com>
Sun, 24 Sep 2017 16:03:13 +0000 (12:03 -0400)
committerPaul Davis <paul@linuxaudiosystems.com>
Sun, 24 Sep 2017 16:03:13 +0000 (12:03 -0400)
libs/evoral/src/types.cpp [deleted file]
libs/temporal/temporal/types.h

diff --git a/libs/evoral/src/types.cpp b/libs/evoral/src/types.cpp
deleted file mode 100644 (file)
index 24adf9c..0000000
+++ /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);
-
-}
index 1d19245ec827bde97064bd4baf3444ab2f9e8fe1..34b69e9c64188fc089fd18d8a265c80358882391 100644 (file)
@@ -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.