Ardour  9.0-pre0-582-g084a23a80d
ARDOUR::DiskReader::DeclickAmp Class Reference

#include <disk_reader.h>

Public Member Functions

 DeclickAmp (samplecnt_t sample_rate)
 
void apply_gain (AudioBuffer &buf, samplecnt_t n_samples, const float target, sampleoffset_t buffer_offset=0)
 
float gain () const
 
void set_gain (float g)
 

Private Attributes

float _a
 
float _l
 
float _g
 

Detailed Description

Definition at line 160 of file disk_reader.h.

Constructor & Destructor Documentation

◆ DeclickAmp()

ARDOUR::DiskReader::DeclickAmp::DeclickAmp ( samplecnt_t  sample_rate)

Member Function Documentation

◆ apply_gain()

void ARDOUR::DiskReader::DeclickAmp::apply_gain ( AudioBuffer buf,
samplecnt_t  n_samples,
const float  target,
sampleoffset_t  buffer_offset = 0 
)

◆ gain()

float ARDOUR::DiskReader::DeclickAmp::gain ( ) const
inline

Definition at line 167 of file disk_reader.h.

◆ set_gain()

void ARDOUR::DiskReader::DeclickAmp::set_gain ( float  g)
inline

Definition at line 171 of file disk_reader.h.

Member Data Documentation

◆ _a

float ARDOUR::DiskReader::DeclickAmp::_a
private

Definition at line 177 of file disk_reader.h.

◆ _g

float ARDOUR::DiskReader::DeclickAmp::_g
private

Definition at line 179 of file disk_reader.h.

◆ _l

float ARDOUR::DiskReader::DeclickAmp::_l
private

Definition at line 178 of file disk_reader.h.


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