21 #ifndef _AUBIO__LVEC_H
22 #define _AUBIO__LVEC_H
float smpl_t
short sample format (32 or 64 bits)
void lvec_ones(lvec_t *s)
set all elements to ones
double lsmp_t
long sample format (64 bits or more)
void del_lvec(lvec_t *s)
lvec_t buffer deletion function
void lvec_set_all(lvec_t *s, smpl_t val)
set all elements to a given value
void lvec_zeros(lvec_t *s)
set all elements to zero
uint_t length
length of buffer
void lvec_print(lvec_t *s)
print out lvec data
void lvec_set_sample(lvec_t *s, lsmp_t data, uint_t position)
write sample value in a buffer
unsigned int uint_t
unsigned integer
lsmp_t * data
data array of size [length]
lsmp_t lvec_get_sample(lvec_t *s, uint_t position)
read sample value in a buffer
lsmp_t * lvec_get_data(lvec_t *s)
read data from a buffer
lvec_t * new_lvec(uint_t length)
lvec_t buffer creation function
Buffer for real data in double precision.