Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::ExportFormatSpecification::Time Struct Reference
Inheritance diagram for ARDOUR::ExportFormatSpecification::Time:
[legend]

Public Member Functions

 Time (Session &session)
 
Timeoperator= (AnyTime const &other)
 
samplecnt_t get_samples_at (samplepos_t position, samplecnt_t target_rate) const
 
XMLNodeget_state () const
 
int set_state (const XMLNode &node)
 
- Public Member Functions inherited from ARDOUR::AnyTime
 AnyTime ()
 
 AnyTime (Temporal::BBT_Offset bt)
 
 AnyTime (std::string const &)
 
std::string str () const
 
bool operator== (AnyTime const &other) const
 
bool not_zero () const
 

Private Attributes

Sessionsession
 

Additional Inherited Members

- Public Types inherited from ARDOUR::AnyTime
enum  Type {
  Timecode , BBT , BBT_Offset , Samples ,
  Seconds
}
 
- Public Attributes inherited from ARDOUR::AnyTime
Type type
 
Timecode::Time timecode
 
union {
   Temporal::BBT_Time   bbt
 
   Temporal::BBT_Offset   bbt_offset
 
}; 
 
union {
   samplecnt_t   samples
 
   double   seconds
 
}; 
 

Detailed Description

Definition at line 49 of file export_format_specification.h.

Constructor & Destructor Documentation

◆ Time()

ARDOUR::ExportFormatSpecification::Time::Time ( Session session)
inline

Definition at line 50 of file export_format_specification.h.

Member Function Documentation

◆ get_samples_at()

samplecnt_t ARDOUR::ExportFormatSpecification::Time::get_samples_at ( samplepos_t  position,
samplecnt_t  target_rate 
) const

◆ get_state()

XMLNode& ARDOUR::ExportFormatSpecification::Time::get_state ( ) const

◆ operator=()

Time& ARDOUR::ExportFormatSpecification::Time::operator= ( AnyTime const &  other)

◆ set_state()

int ARDOUR::ExportFormatSpecification::Time::set_state ( const XMLNode node)

Member Data Documentation

◆ session

Session& ARDOUR::ExportFormatSpecification::Time::session
private

Definition at line 61 of file export_format_specification.h.


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