Changeset 3901714


Ignore:
Timestamp:
May 27, 2006, 3:00:08 AM (19 years ago)
Author:
Paul Brossier <piem@altern.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:
1e7ef7c
Parents:
08d21bf
Message:

fixes memset in aubio_priv.h, remove useless sfinfo.format=0
fixes memset in aubio_priv.h, remove useless sfinfo.format=0

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ext/sndfileio.c

    r08d21bf r3901714  
    4343        SF_INFO sfinfo;
    4444        AUBIO_MEMSET(&sfinfo, 0, sizeof (sfinfo));
    45         sfinfo.format = 0;
    4645
    4746        f->handle = sf_open (outputname, SFM_READ, &sfinfo);
  • src/aubio_priv.h

    r08d21bf r3901714  
    8484#define AUBIO_ARRAY(_t,_n)              (_t*)malloc((_n)*sizeof(_t))
    8585#define AUBIO_MEMCPY(_dst,_src,_n)      memcpy(_dst,_src,_n)
    86 #define AUBIO_MEMSET(_dst,_src,_t)      memset(_dst,_src,sizeof(_t))
     86#define AUBIO_MEMSET(_dst,_src,_t)      memset(_dst,_src,_t)
    8787#define AUBIO_FREE(_p)                  free(_p)       
    8888
Note: See TracChangeset for help on using the changeset viewer.