ardour
Functions
mix.h File Reference
#include "ardour/libardour_visibility.h"
#include "ardour/types.h"
#include "ardour/utils.h"

Go to the source code of this file.

Functions

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

Function Documentation

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

Definition at line 117 of file mix.cc.

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

Definition at line 88 of file mix.cc.

LIBARDOUR_API void default_find_peaks ( const ARDOUR::Sample buf,
ARDOUR::pframes_t  nsamples,
float *  min,
float *  max 
)

Definition at line 98 of file mix.cc.

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

Definition at line 132 of file mix.cc.

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

Definition at line 124 of file mix.cc.