Changeset 78429de for src


Ignore:
Timestamp:
Oct 22, 2009, 3:10:44 AM (15 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
Children:
83963b3
Parents:
992beaa
Message:

src/*vec.h: strip down _*vec_t

Location:
src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • src/cvec.h

    r992beaa r78429de  
    3636*/
    3737
    38 /** Spectrum buffer type */
    39 typedef struct _cvec_t cvec_t;
    4038/** Buffer for complex data */
    41 struct _cvec_t {
     39typedef struct {
    4240  uint_t length;   /**< length of buffer = (requested length)/2 + 1 */
    4341  uint_t channels; /**< number of channels */
    4442  smpl_t **norm;   /**< norm array of size [length] * [channels] */
    4543  smpl_t **phas;   /**< phase array of size [length] * [channels] */
    46 };
     44} cvec_t;
    4745
    4846/** cvec_t buffer creation function
  • src/fvec.h

    r992beaa r78429de  
    3535*/
    3636
    37 /** Sample buffer type */
    38 typedef struct _fvec_t fvec_t;
    39 /** Buffer for real values */
    40 struct _fvec_t {
     37/** Buffer for real data */
     38typedef struct {
    4139  uint_t length;   /**< length of buffer */
    4240  uint_t channels; /**< number of channels */
    4341  smpl_t **data;   /**< data array of size [length] * [channels] */
    44 };
     42} fvec_t;
     43
    4544/** fvec_t buffer creation function
    4645
  • src/lvec.h

    r992beaa r78429de  
    3636*/
    3737
    38 /** Sample buffer type */
    39 typedef struct _lvec_t lvec_t;
    40 /** Buffer for real values */
    41 struct _lvec_t {
     38/** Buffer for real data in double precision */
     39typedef struct {
    4240  uint_t length;   /**< length of buffer */
    4341  uint_t channels; /**< number of channels */
    4442  lsmp_t **data;   /**< data array of size [length] * [channels] */
    45 };
     43} lvec_t;
     44
    4645/** lvec_t buffer creation function
    4746
Note: See TracChangeset for help on using the changeset viewer.