Go to the source code of this file.
|
static audio_sample | noopt_calculate_peak (const audio_sample *p_src, t_size p_num) |
|
static void | noopt_convert_from_int16 (const t_int16 *p_source, t_size p_count, audio_sample *p_output, float p_scale) |
|
static void | noopt_convert_from_int32 (const t_int32 *p_source, t_size p_count, audio_sample *p_output, float p_scale) |
|
static void | noopt_convert_to_16bit (const audio_sample *p_source, t_size p_count, t_int16 *p_output, float p_scale) |
|
static void | noopt_convert_to_32bit (const audio_sample *p_source, t_size p_count, t_int32 *p_output, float p_scale) |
|
static void | noopt_scale (const audio_sample *p_source, t_size p_count, audio_sample *p_output, audio_sample p_scale) |
|
Definition at line 3 of file audio_math.cpp.
10 if (temp>peak) peak = temp;
Definition at line 30 of file audio_math.cpp.
31 for(
t_size n=0;n<p_count;n++) {
static t_int32 rint32(audio_sample val)
T clip_t(const T &p_item, const T &p_min, const T &p_max)
Definition at line 18 of file audio_math.cpp.
25 else if (val > 0x7FFFFFFF) val = 0x7FFFFFFF;
static t_int64 rint64(audio_sample val)
Definition at line 52 of file audio_math.cpp.
54 for(
t_size n=0;n<p_count;n++)
55 p_output[n] = p_source[n] * p_scale;