- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/src/temporal/test-filter.c
r9720945 ra114fe0 9 9 10 10 aubio_filter_t *o = new_aubio_filter_c_weighting (44100); 11 12 if (new_aubio_filter(0)) 13 return 1; 14 15 if (aubio_filter_get_samplerate(o) != 44100) 16 return 1; 17 18 if (aubio_filter_set_c_weighting (o, -1) == 0) 19 return 1; 20 21 if (aubio_filter_set_c_weighting (0, 32000) == 0) 22 return 1; 23 11 24 in->data[impulse_at] = 0.5; 12 25 fvec_print (in); … … 16 29 17 30 o = new_aubio_filter_a_weighting (32000); 31 32 if (aubio_filter_set_a_weighting (o, -1) == 0) 33 return 1; 34 if (aubio_filter_set_a_weighting (0, 32000) == 0) 35 return 1; 36 18 37 in->data[impulse_at] = 0.5; 19 38 fvec_print (in);
Note: See TracChangeset
for help on using the changeset viewer.