18 #ifndef _lufs_meter_h_
19 #define _lufs_meter_h_
38 void run (
float const** data, uint32_t n_samples);
49 float process (
float const** data,
const uint32_t n_samples, uint32_t offset);
55 std::function< float(
int,
const float) >
upsample;
57 const float _g[5] = { 1.0, 1.0, 1.0, 1.41, 1.41 };
85 typedef std::map<int, uint32_t>
History;
float integrated_loudness() const
float process(float const **data, const uint32_t n_samples, uint32_t offset)
float max_momentary() const
void calc_true_peak(float const **data, const uint32_t n_samples)
float upsample_x2(int chn, float const x)
std::map< int, uint32_t, std::less< int >, PBD::StackAllocator< std::pair< const int, uint32_t >, 1000 > > History
LUFSMeter(LUFSMeter const &other)=delete
float sumfrag(uint32_t) const
LUFSMeter(double samplerate, uint32_t n_channels)
float upsample_x4(int chn, float const x)
void run(float const **data, uint32_t n_samples)
std::function< float(int, const float) > upsample