Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::SafeTime Struct Reference

#include <transport_master.h>

Public Member Functions

 SafeTime ()
 
void reset ()
 
void update (samplepos_t p, samplepos_t t, double s)
 
void safe_read (SafeTime &dst) const
 

Public Attributes

std::atomic< int > guard1
 
samplepos_t position
 
samplepos_t timestamp
 
double speed
 
std::atomic< int > guard2
 

Detailed Description

Definition at line 60 of file transport_master.h.

Constructor & Destructor Documentation

◆ SafeTime()

ARDOUR::SafeTime::SafeTime ( )
inline

Definition at line 89 of file transport_master.h.

Member Function Documentation

◆ reset()

void ARDOUR::SafeTime::reset ( )
inline

Definition at line 98 of file transport_master.h.

◆ safe_read()

void ARDOUR::SafeTime::safe_read ( SafeTime dst) const
inline

Definition at line 116 of file transport_master.h.

◆ update()

void ARDOUR::SafeTime::update ( samplepos_t  p,
samplepos_t  t,
double  s 
)
inline

Definition at line 107 of file transport_master.h.

Member Data Documentation

◆ guard1

std::atomic<int> ARDOUR::SafeTime::guard1

Definition at line 83 of file transport_master.h.

◆ guard2

std::atomic<int> ARDOUR::SafeTime::guard2

Definition at line 87 of file transport_master.h.

◆ position

samplepos_t ARDOUR::SafeTime::position

Definition at line 84 of file transport_master.h.

◆ speed

double ARDOUR::SafeTime::speed

Definition at line 86 of file transport_master.h.

◆ timestamp

samplepos_t ARDOUR::SafeTime::timestamp

Definition at line 85 of file transport_master.h.


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