Changes in / [a4e5a1a:6b98ab9]
- Location:
- src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/source_wavread.c
ra4e5a1a r6b98ab9 196 196 } 197 197 198 if ( sr == 0 ) {199 AUBIO_ERR("source_wavread: Failed opening %s (samplerate can not be 0)\n", s->path);198 if ( (sint_t)sr <= 0 ) { 199 AUBIO_ERR("source_wavread: Failed opening %s (samplerate can not be <= 0)\n", s->path); 200 200 goto beach; 201 201 } -
src/notes/notes.c
ra4e5a1a r6b98ab9 84 84 85 85 o->pitch = new_aubio_pitch (pitch_method, o->pitch_buf_size, o->hop_size, o->samplerate); 86 if (o->pitch == NULL) goto fail; 86 87 if (o->pitch_tolerance != 0.) aubio_pitch_set_tolerance (o->pitch, o->pitch_tolerance); 87 88 aubio_pitch_set_unit (o->pitch, "midi");
Note: See TracChangeset
for help on using the changeset viewer.