ase/datautils.hh file


Namespaces

namespace Ase
The Anklang C++ API namespace.

Functions

void fast_copy(size_t n, float* d, const float* s)
Copy a block of floats.
void fast_copy(size_t n, uint32_t* d, const uint32_t* s)
Copy a block of integers.
void floatfill(float* dst, float f, size_t n)
Fill n values of dst with f.
auto square_max(uint n_values, const float* ivalues) →  float
Find the maximum suqared value in a block of floats.
auto square_sum(uint n_values, const float* ivalues) →  float
Calculate suqare sum of a block of floats.

Variables

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