Ardour  9.0-pre0-427-gd2a3450e2f
ARDOUR::DSP::Convolution Class Reference

#include <convolver.h>

Inheritance diagram for ARDOUR::DSP::Convolution:
[legend]

Classes

class  ImpData
 

Public Member Functions

 Convolution (Session &, uint32_t n_in, uint32_t n_out)
 
virtual ~Convolution ()
 
bool add_impdata (uint32_t c_in, uint32_t c_out, std::shared_ptr< AudioReadable > r, float gain=1.0, uint32_t pre_delay=0, sampleoffset_t offset=0, samplecnt_t length=0, uint32_t channel=0)
 
bool ready () const
 
uint32_t latency () const
 
uint32_t n_inputs () const
 
uint32_t n_outputs () const
 
void clear_impdata ()
 
void restart ()
 
void run (BufferSet &, ChanMapping const &, ChanMapping const &, pframes_t, samplecnt_t)
 
void run_mono_buffered (float *, uint32_t)
 
void run_mono_no_latency (float *, uint32_t)
 
- Public Member Functions inherited from ARDOUR::SessionHandleRef
 SessionHandleRef (ARDOUR::Session &s)
 
virtual ~SessionHandleRef ()
 
- Public Member Functions inherited from PBD::ScopedConnectionList
 ScopedConnectionList ()
 
 ScopedConnectionList (const ScopedConnectionList &)=delete
 
ScopedConnectionListoperator= (const ScopedConnectionList &)=delete
 
virtual ~ScopedConnectionList ()
 
void add_connection (const UnscopedConnection &c)
 
void drop_connections ()
 

Protected Attributes

ArdourZita::Convproc _convproc
 
uint32_t _n_samples
 
uint32_t _max_size
 
uint32_t _offset
 
bool _configured
 
bool _threaded
 
- Protected Attributes inherited from ARDOUR::SessionHandleRef
ARDOUR::Session_session
 

Private Attributes

std::vector< ImpData_impdata
 
uint32_t _n_inputs
 
uint32_t _n_outputs
 

Additional Inherited Members

- Protected Member Functions inherited from ARDOUR::SessionHandleRef
virtual void session_going_away ()
 
virtual void insanity_check ()
 

Detailed Description

Definition at line 34 of file convolver.h.

Constructor & Destructor Documentation

◆ Convolution()

ARDOUR::DSP::Convolution::Convolution ( Session ,
uint32_t  n_in,
uint32_t  n_out 
)

◆ ~Convolution()

virtual ARDOUR::DSP::Convolution::~Convolution ( )
inlinevirtual

Definition at line 38 of file convolver.h.

Member Function Documentation

◆ add_impdata()

bool ARDOUR::DSP::Convolution::add_impdata ( uint32_t  c_in,
uint32_t  c_out,
std::shared_ptr< AudioReadable r,
float  gain = 1.0,
uint32_t  pre_delay = 0,
sampleoffset_t  offset = 0,
samplecnt_t  length = 0,
uint32_t  channel = 0 
)

◆ clear_impdata()

void ARDOUR::DSP::Convolution::clear_impdata ( )

◆ latency()

uint32_t ARDOUR::DSP::Convolution::latency ( ) const
inline

Definition at line 51 of file convolver.h.

◆ n_inputs()

uint32_t ARDOUR::DSP::Convolution::n_inputs ( ) const
inline

Definition at line 52 of file convolver.h.

◆ n_outputs()

uint32_t ARDOUR::DSP::Convolution::n_outputs ( ) const
inline

Definition at line 53 of file convolver.h.

◆ ready()

bool ARDOUR::DSP::Convolution::ready ( ) const

◆ restart()

void ARDOUR::DSP::Convolution::restart ( )

◆ run()

void ARDOUR::DSP::Convolution::run ( BufferSet ,
ChanMapping const &  ,
ChanMapping const &  ,
pframes_t  ,
samplecnt_t   
)

◆ run_mono_buffered()

void ARDOUR::DSP::Convolution::run_mono_buffered ( float *  ,
uint32_t   
)

◆ run_mono_no_latency()

void ARDOUR::DSP::Convolution::run_mono_no_latency ( float *  ,
uint32_t   
)

Member Data Documentation

◆ _configured

bool ARDOUR::DSP::Convolution::_configured
protected

Definition at line 68 of file convolver.h.

◆ _convproc

ArdourZita::Convproc ARDOUR::DSP::Convolution::_convproc
protected

Definition at line 63 of file convolver.h.

◆ _impdata

std::vector<ImpData> ARDOUR::DSP::Convolution::_impdata
private

Definition at line 118 of file convolver.h.

◆ _max_size

uint32_t ARDOUR::DSP::Convolution::_max_size
protected

Definition at line 66 of file convolver.h.

◆ _n_inputs

uint32_t ARDOUR::DSP::Convolution::_n_inputs
private

Definition at line 119 of file convolver.h.

◆ _n_outputs

uint32_t ARDOUR::DSP::Convolution::_n_outputs
private

Definition at line 120 of file convolver.h.

◆ _n_samples

uint32_t ARDOUR::DSP::Convolution::_n_samples
protected

Definition at line 65 of file convolver.h.

◆ _offset

uint32_t ARDOUR::DSP::Convolution::_offset
protected

Definition at line 67 of file convolver.h.

◆ _threaded

bool ARDOUR::DSP::Convolution::_threaded
protected

Definition at line 69 of file convolver.h.


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