Ardour  9.0-pre0-582-g084a23a80d
temporal/temporal/types.h File Reference
#include <cassert>
#include <cstdlib>
#include <ostream>
#include <stdint.h>
#include "pbd/integer_division.h"
#include "temporal/visibility.h"
Include dependency graph for temporal/temporal/types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Temporal::_ratio_t< T >
 

Namespaces

 Temporal
 

Typedefs

typedef int64_t Temporal::samplepos_t
 
typedef int64_t Temporal::sampleoffset_t
 
typedef int64_t Temporal::samplecnt_t
 
typedef _ratio_t< int64_t > Temporal::ratio_t
 

Enumerations

enum  Temporal::OverlapType {
  Temporal::OverlapNone , Temporal::OverlapInternal , Temporal::OverlapStart , Temporal::OverlapEnd ,
  Temporal::OverlapExternal
}
 
enum  Temporal::TimeDomain { Temporal::AudioTime = 0 , Temporal::BeatTime = 1 }
 
enum  Temporal::Dirty { Temporal::SampleDirty = 0x1 , Temporal::BeatsDirty = 0x2 , Temporal::BBTDirty = 0x4 }
 
enum  Temporal::RoundMode {
  Temporal::RoundDownMaybe = -2 , Temporal::RoundDownAlways = -1 , Temporal::RoundNearest = 0 , Temporal::RoundUpAlways = 1 ,
  Temporal::RoundUpMaybe = 2
}
 

Functions

void Temporal::init ()
 
void Temporal::reset ()
 
void Temporal::setup_enum_writer ()
 
std::ostream & operator<< (std::ostream &o, Temporal::ratio_t const &r)
 

Variables

static const samplepos_t Temporal::max_samplepos = INT64_MAX
 
static const samplecnt_t Temporal::max_samplecnt = INT64_MAX
 
static const int32_t Temporal::ticks_per_beat = 1920
 

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  o,
Temporal::ratio_t const &  r 
)