source: tests/src/test-lvec.c @ 4b943729

feature/autosinkfeature/cnnfeature/cnn_orgfeature/constantqfeature/crepefeature/crepe_orgfeature/pitchshiftfeature/pydocstringsfeature/timestretchfix/ffmpeg5
Last change on this file since 4b943729 was 986131d, checked in by Eduard Müller <mueller.eduard@googlemail.com>, 7 years ago

Intel IPP support for aubio

See emuell/aubio/ intel_ipp2 for details please

  • Property mode set to 100644
File size: 416 bytes
RevLine 
[332487b]1#include "aubio.h"
[175a218]2#include "utils_tests.h"
[cd60b5c]3
[158e031]4int main (void)
[7e35b37]5{
[986131d]6  aubio_init();
7
[175a218]8  uint_t win_s = 32; // window size
[7e35b37]9  lvec_t * sp = new_lvec (win_s); // input buffer
[175a218]10  lvec_set_sample (sp, 2./3., 0);
[7a62fcb]11  PRINT_MSG(AUBIO_LSMP_FMT "\n", lvec_get_sample (sp, 0));
[175a218]12  lvec_print (sp);
13  lvec_ones (sp);
14  lvec_print (sp);
15  lvec_set_all (sp, 3./5.);
16  lvec_print (sp);
[7e35b37]17  del_lvec(sp);
[986131d]18
19  aubio_cleanup();
20 
[7e35b37]21  return 0;
[cd60b5c]22}
23
Note: See TracBrowser for help on using the repository browser.