Changeset 54bf847
- Timestamp:
- Aug 8, 2005, 10:09:49 PM (19 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:
- b8976d6
- Parents:
- 651b97e
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ext/midi/midi_file.c
r651b97e r54bf847 151 151 return AUBIO_FAIL; 152 152 } 153 if ((AUBIO_STRNCMP( mthd, "MThd", 4) != 0) || (mthd[7] != 6) || (mthd[9] > 2)) {153 if ((AUBIO_STRNCMP((const char*)mthd, "MThd", 4) != 0) || (mthd[7] != 6) || (mthd[9] > 2)) { 154 154 AUBIO_ERR( "Doesn't look like a MIDI file: invalid MThd header"); 155 155 return AUBIO_FAIL; -
src/resample.c
r651b97e r54bf847 34 34 aubio_resampler_t * new_aubio_resampler(float ratio, uint_t type) { 35 35 aubio_resampler_t * s = AUBIO_NEW(aubio_resampler_t); 36 uint_t error = 0;37 s->stat = src_new (type, 1, ( uint_t*)error) ; /* only one channel */36 sint_t error = 0; 37 s->stat = src_new (type, 1, (sint_t*)error) ; /* only one channel */ 38 38 s->proc = AUBIO_NEW(SRC_DATA); 39 39 if (error) AUBIO_ERR("%s\n",src_strerror(error));
Note: See TracChangeset
for help on using the changeset viewer.