new header file for audio-based time types

This commit is contained in:
Paul Davis
2017-09-24 12:03:13 -04:00
parent 48d402c960
commit 9283bee867
2 changed files with 1 additions and 30 deletions

View File

@@ -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);
}

View 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.