- Timestamp:
- Dec 19, 2013, 11:24:01 PM (11 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:
- 50bb325
- Parents:
- 6465d7f
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/io/source_sndfile.c
r6465d7f r7bb5cef 264 264 265 265 uint_t aubio_source_sndfile_seek (aubio_source_sndfile_t * s, uint_t pos) { 266 uint_t resampled_pos = (uint_t)ROUND(pos *s->ratio);266 uint_t resampled_pos = (uint_t)ROUND(pos / s->ratio); 267 267 return sf_seek (s->handle, resampled_pos, SEEK_SET); 268 268 }
Note: See TracChangeset
for help on using the changeset viewer.