Changeset 61a1e5d for examples/aubiopitch.c
- Timestamp:
- Oct 3, 2016, 6:59:12 PM (8 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, sampler, yinfft+
- Children:
- ffd10fb
- Parents:
- 82ae9d7
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/aubiopitch.c
r82ae9d7 r61a1e5d 53 53 54 54 int main(int argc, char **argv) { 55 int ret = 0; 55 56 56 57 buffer_size = 2048; … … 66 67 67 68 o = new_aubio_pitch (pitch_method, buffer_size, hop_size, samplerate); 69 if (o == NULL) { ret = 1; goto beach; } 68 70 if (pitch_tolerance != 0.) 69 71 aubio_pitch_set_tolerance (o, pitch_tolerance); … … 84 86 del_fvec (pitch); 85 87 88 beach: 86 89 examples_common_del(); 87 return 0;90 return ret; 88 91 } 89
Note: See TracChangeset
for help on using the changeset viewer.