Changeset 0d4228d for src/effects
- Timestamp:
- Sep 29, 2016, 1:38:04 PM (8 years ago)
- Branches:
- sampler, timestretch
- Children:
- fb5bd55
- Parents:
- 39f1d5c
- Location:
- src/effects
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/effects/timestretch.h
r39f1d5c r0d4228d 157 157 smpl_t aubio_timestretch_get_transpose (aubio_timestretch_t * o); 158 158 159 /** seek to a posisition the transposition of the time stretching object, in semitones 160 161 \param o time stretching object as returned by ::new_aubio_timestretch() 162 \param pos position to seek to, in frames 163 164 \return transposition of the time stretching object, in semitones 165 166 */ 167 uint_t aubio_timestretch_seek(aubio_timestretch_t * o, uint_t pos); 168 159 169 #ifdef __cplusplus 160 170 } -
src/effects/timestretch_dummy.c
r39f1d5c r0d4228d 87 87 } 88 88 89 uint_t aubio_timestretch_seek(aubio_timestretch_t *o UNUSED, uint_t pos UNUSED) { 90 return AUBIO_FAIL; 91 } 89 92 // end of dummy implementation 90 93 -
src/effects/timestretch_rubberband.c
r39f1d5c r0d4228d 209 209 } 210 210 211 uint_t 212 aubio_timestretch_seek (aubio_timestretch_t *p, uint_t pos) 213 { 214 p->eof = 0; 215 rubberband_reset(p->rb); 216 return aubio_source_seek(p->source, pos); 217 } 218 211 219 #endif
Note: See TracChangeset
for help on using the changeset viewer.