Struct bliss_audio_aubio_sys::cvec_t
source · #[repr(C)]pub struct cvec_t {
pub length: uint_t,
pub norm: *mut smpl_t,
pub phas: *mut smpl_t,
}
Expand description
Vector of real-valued phase and spectrum data
\code
uint_t buffer_size = 1024;
cvec_t * input = new_cvec (buffer_size);
input->norm[23] = 2.; input->phas[23] = M_PI;
mean = cvec_mean(input);
del_cvec (input);
\endcode
Fields§
§length: uint_t
< length of buffer = (requested length)/2 + 1
norm: *mut smpl_t
< norm array of size ::cvec_t.length
phas: *mut smpl_t
< phase array of size ::cvec_t.length