Ardour  9.0-pre0-582-g084a23a80d
Timecode::Time Struct Reference

#include <time.h>

Public Member Functions

 Time (double a_rate=default_rate)
 
bool operator== (const Time &other) const
 
std::ostream & print (std::ostream &ostr) const
 

Public Attributes

bool negative
 
uint32_t hours
 
uint32_t minutes
 
uint32_t seconds
 
uint32_t frames
 Timecode frames (not audio frames) More...
 
uint32_t subframes
 Typically unused. More...
 
double rate
 Frame rate of this Time. More...
 
bool drop
 Whether this Time uses dropframe Timecode. More...
 

Static Public Attributes

static double default_rate
 Rate to use for default constructor. More...
 

Detailed Description

Definition at line 53 of file time.h.

Constructor & Destructor Documentation

◆ Time()

Timecode::Time::Time ( double  a_rate = default_rate)
inline

Definition at line 64 of file time.h.

Member Function Documentation

◆ operator==()

bool Timecode::Time::operator== ( const Time other) const
inline

Definition at line 76 of file time.h.

◆ print()

std::ostream& Timecode::Time::print ( std::ostream &  ostr) const
inline

Definition at line 84 of file time.h.

Member Data Documentation

◆ default_rate

double Timecode::Time::default_rate
static

Rate to use for default constructor.

Definition at line 61 of file time.h.

◆ drop

bool Timecode::Time::drop

Whether this Time uses dropframe Timecode.

Definition at line 62 of file time.h.

◆ frames

uint32_t Timecode::Time::frames

Timecode frames (not audio frames)

Definition at line 58 of file time.h.

◆ hours

uint32_t Timecode::Time::hours

Definition at line 55 of file time.h.

◆ minutes

uint32_t Timecode::Time::minutes

Definition at line 56 of file time.h.

◆ negative

bool Timecode::Time::negative

Definition at line 54 of file time.h.

◆ rate

double Timecode::Time::rate

Frame rate of this Time.

Definition at line 60 of file time.h.

◆ seconds

uint32_t Timecode::Time::seconds

Definition at line 57 of file time.h.

◆ subframes

uint32_t Timecode::Time::subframes

Typically unused.

Definition at line 59 of file time.h.


The documentation for this struct was generated from the following file: