ardour
Functions
mix.cc File Reference
#include <cmath>
#include "ardour/types.h"
#include "ardour/utils.h"
#include "ardour/mix.h"
#include "ardour/runtime_functions.h"
#include <stdint.h>

Go to the source code of this file.

Functions

float default_compute_peak (const ARDOUR::Sample *buf, pframes_t nsamples, float current)
 
void default_find_peaks (const ARDOUR::Sample *buf, pframes_t nframes, float *minf, float *maxf)
 
void default_apply_gain_to_buffer (ARDOUR::Sample *buf, pframes_t nframes, float gain)
 
void default_mix_buffers_with_gain (ARDOUR::Sample *dst, const ARDOUR::Sample *src, pframes_t nframes, float gain)
 
void default_mix_buffers_no_gain (ARDOUR::Sample *dst, const ARDOUR::Sample *src, pframes_t nframes)
 

Function Documentation

void default_apply_gain_to_buffer ( ARDOUR::Sample buf,
pframes_t  nframes,
float  gain 
)

Definition at line 117 of file mix.cc.

float default_compute_peak ( const ARDOUR::Sample buf,
pframes_t  nsamples,
float  current 
)

Definition at line 88 of file mix.cc.

void default_find_peaks ( const ARDOUR::Sample buf,
pframes_t  nframes,
float *  minf,
float *  maxf 
)

Definition at line 98 of file mix.cc.

void default_mix_buffers_no_gain ( ARDOUR::Sample dst,
const ARDOUR::Sample src,
pframes_t  nframes 
)

Definition at line 132 of file mix.cc.

void default_mix_buffers_with_gain ( ARDOUR::Sample dst,
const ARDOUR::Sample src,
pframes_t  nframes,
float  gain 
)

Definition at line 124 of file mix.cc.