Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::Latent Class Reference

#include <latent.h>

Inheritance diagram for ARDOUR::Latent:
[legend]

Public Member Functions

 Latent ()
 
 Latent (Latent const &)
 
virtual ~Latent ()
 
samplecnt_t effective_latency () const
 
samplecnt_t user_latency () const
 
void unset_user_latency ()
 
virtual void set_user_latency (samplecnt_t val)
 
- Public Member Functions inherited from ARDOUR::HasLatency
virtual ~HasLatency ()
 
virtual samplecnt_t signal_latency () const =0
 

Static Public Member Functions

static void force_zero_latency (bool en)
 
static bool zero_latency ()
 

Public Attributes

PBD::Signal< void()> LatencyChanged
 

Static Public Attributes

static PBD::Signal< void()> DisableSwitchChanged
 

Protected Member Functions

int set_state (const XMLNode &node, int version)
 
void add_state (XMLNode *) const
 

Private Attributes

samplecnt_t _use_user_latency
 
samplecnt_t _user_latency
 

Static Private Attributes

static bool _zero_latency
 

Detailed Description

Definition at line 37 of file latent.h.

Constructor & Destructor Documentation

◆ Latent() [1/2]

ARDOUR::Latent::Latent ( )

◆ Latent() [2/2]

ARDOUR::Latent::Latent ( Latent const &  )

◆ ~Latent()

virtual ARDOUR::Latent::~Latent ( )
inlinevirtual

Definition at line 41 of file latent.h.

Member Function Documentation

◆ add_state()

void ARDOUR::Latent::add_state ( XMLNode ) const
protected

◆ effective_latency()

samplecnt_t ARDOUR::Latent::effective_latency ( ) const
inline

Definition at line 45 of file latent.h.

◆ force_zero_latency()

static void ARDOUR::Latent::force_zero_latency ( bool  en)
inlinestatic

Definition at line 74 of file latent.h.

◆ set_state()

int ARDOUR::Latent::set_state ( const XMLNode node,
int  version 
)
protected

◆ set_user_latency()

virtual void ARDOUR::Latent::set_user_latency ( samplecnt_t  val)
inlinevirtual

Definition at line 69 of file latent.h.

◆ unset_user_latency()

void ARDOUR::Latent::unset_user_latency ( )
inline

Definition at line 64 of file latent.h.

◆ user_latency()

samplecnt_t ARDOUR::Latent::user_latency ( ) const
inline

Definition at line 56 of file latent.h.

◆ zero_latency()

static bool ARDOUR::Latent::zero_latency ( )
inlinestatic

Definition at line 82 of file latent.h.

Member Data Documentation

◆ _use_user_latency

samplecnt_t ARDOUR::Latent::_use_user_latency
private

Definition at line 94 of file latent.h.

◆ _user_latency

samplecnt_t ARDOUR::Latent::_user_latency
private

Definition at line 95 of file latent.h.

◆ _zero_latency

bool ARDOUR::Latent::_zero_latency
staticprivate

Definition at line 97 of file latent.h.

◆ DisableSwitchChanged

PBD::Signal<void()> ARDOUR::Latent::DisableSwitchChanged
static

Definition at line 86 of file latent.h.

◆ LatencyChanged

PBD::Signal<void()> ARDOUR::Latent::LatencyChanged

Definition at line 87 of file latent.h.


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