shithub: aubio

ref: 3fd2dc122c009180258df33d7e1179089ceab18d
dir: /examples/tests/test-sample.c/

View raw version
#include <aubio.h>

int main(){
        /* allocate some memory */
        uint_t win_s      = 1024;                       /* window size */
        uint_t channels   = 1;                          /* number of channel */
        fvec_t * in       = new_fvec (win_s, channels); /* input buffer */
        cvec_t * sp       = new_cvec (win_s, channels); /* input buffer */
        del_fvec(in);
        del_cvec(sp);

        return 0;
}