Anklang 0.3.0-460-gc4ef46ba
ASE — Anklang Sound Engine (C++)

« « « Anklang Documentation
Loading...
Searching...
No Matches
Namespaces | Functions | Variables
datautils.hh File Reference
#include <ase/signalmath.hh>

Go to the source code of this file.

Namespaces

namespace  Ase
 The Anklang C++ API namespace.
 

Functions

float Ase::square_sum (uint n_values, const float *ivalues)
 Calculate suqare sum of a block of floats.
 
float Ase::square_max (uint n_values, const float *ivalues)
 Find the maximum suqared value in a block of floats.
 
template<class S , class D >
void Ase::convert_samples (size_t n, S *src, D *dst, uint16 byte_order)
 
template<class S , class D >
void Ase::convert_clip_samples (size_t n, S *src, D *dst, uint16 byte_order)
 
void Ase::floatfill (float *dst, float f, size_t n)
 Fill n values of dst with f.
 
void Ase::fast_copy (size_t n, float *d, const float *s)
 Copy a block of floats.
 
void Ase::fast_copy (size_t n, uint32_t *d, const uint32_t *s)
 Copy a block of integers.
 
template<>
void Ase::convert_samples (size_t n, const int16_t *src, float *dst, uint16 byte_order)
 
template<>
void Ase::convert_clip_samples (size_t n, const float *src, int16_t *dst, uint16 byte_order)
 

Variables

constexpr const uint Ase::AUDIO_BLOCK_FLOAT_ZEROS_SIZE
 Maximum number of values in the const_float_zeros block.