Changeset f530f12 for src/temporal/a_weighting.c
- Timestamp:
- Oct 5, 2009, 12:30:32 AM (15 years ago)
- 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:
- eebb0e1
- Parents:
- ccf8b77
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/temporal/a_weighting.c
rccf8b77 rf530f12 27 27 #include "temporal/a_weighting.h" 28 28 29 voidaubio_filter_set_a_weighting (aubio_filter_t * f) {29 uint_t aubio_filter_set_a_weighting (aubio_filter_t * f) { 30 30 31 31 uint_t samplerate = aubio_filter_get_samplerate (f); … … 37 37 if ( order != 7 ) { 38 38 AUBIO_ERROR ( "order of A-weighting filter must be 7, not %d\n", order ); 39 return ;39 return 1; 40 40 } 41 41 … … 245 245 8000, 11025, 16000, 22050, 24000, 32000, 44100, 48000, 88200, 96000, 192000.\n", 246 246 samplerate ); 247 break;247 return 1; 248 248 249 249 } 250 250 251 return 0; 251 252 } 252 253
Note: See TracChangeset
for help on using the changeset viewer.