Changes in tests/src/io/test-source.c [4865e4b:447c673]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/io/test-source.c
r4865e4b r447c673 28 28 char_t *source_path = argv[1]; 29 29 30 31 aubio_source_t* s = 32 new_aubio_source(source_path, samplerate, hop_size); 33 if (!s) { err = 1; goto beach; } 30 34 fvec_t *vec = new_fvec(hop_size); 31 32 aubio_source_t* s = new_aubio_source(source_path, samplerate, hop_size);33 if (!s) { err = 1; goto beach; }34 35 35 36 if (samplerate == 0 ) samplerate = aubio_source_get_samplerate(s); … … 44 45 n_frames / hop_size, source_path); 45 46 47 del_fvec (vec); 46 48 del_aubio_source (s); 47 49 beach: 48 del_fvec (vec);49 50 50 return err; 51 51 }
Note: See TracChangeset
for help on using the changeset viewer.