*/
-/** Spectrum buffer type */
-typedef struct _cvec_t cvec_t;
/** Buffer for complex data */
-struct _cvec_t {
+typedef struct {
uint_t length; /**< length of buffer = (requested length)/2 + 1 */
uint_t channels; /**< number of channels */
smpl_t **norm; /**< norm array of size [length] * [channels] */
smpl_t **phas; /**< phase array of size [length] * [channels] */
-};
+} cvec_t;
/** cvec_t buffer creation function
*/
-/** Sample buffer type */
-typedef struct _fvec_t fvec_t;
-/** Buffer for real values */
-struct _fvec_t {
+/** Buffer for real data */
+typedef struct {
uint_t length; /**< length of buffer */
uint_t channels; /**< number of channels */
smpl_t **data; /**< data array of size [length] * [channels] */
-};
+} fvec_t;
+
/** fvec_t buffer creation function
\param length the length of the buffer to create
*/
-/** Sample buffer type */
-typedef struct _lvec_t lvec_t;
-/** Buffer for real values */
-struct _lvec_t {
+/** Buffer for real data in double precision */
+typedef struct {
uint_t length; /**< length of buffer */
uint_t channels; /**< number of channels */
lsmp_t **data; /**< data array of size [length] * [channels] */
-};
+} lvec_t;
+
/** lvec_t buffer creation function
\param length the length of the buffer to create