Changeset 16965d5
- Timestamp:
- Sep 29, 2016, 1:22:22 PM (8 years ago)
- Branches:
- sampler, timestretch
- Children:
- 24914e1
- Parents:
- af195a5
- Location:
- src/effects
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/effects/timestretch.h
raf195a5 r16965d5 85 85 uint_t aubio_timestretch_get_latency (aubio_timestretch_t * o); 86 86 87 /** get the samplerate of the time stretching object 88 89 Call after new_aubio_timestretch() was called with 0 to match the original 90 samplerate of the input file. 91 92 \param o time stretching object as returned by new_aubio_timestretch() 93 94 \return samplerate of the time stretching object 95 96 */ 97 uint_t aubio_timestretch_get_samplerate (aubio_timestretch_t * o); 98 87 99 /** set the stretching ratio of the time stretching object 88 100 -
src/effects/timestretch_dummy.c
raf195a5 r16965d5 66 66 } 67 67 68 uint_t aubio_timestretch_get_samplerate (aubio_timestretch_t * o UNUSED) { 69 return 0; 70 } 71 68 72 smpl_t aubio_timestretch_get_pitchscale (aubio_timestretch_t * o UNUSED) 69 73 { -
src/effects/timestretch_rubberband.c
raf195a5 r16965d5 119 119 } 120 120 121 uint_t 122 aubio_timestretch_get_samplerate (aubio_timestretch_t * p) 123 { 124 return p->samplerate; 125 } 126 121 127 uint_t aubio_timestretch_get_latency (aubio_timestretch_t * p) { 122 128 return rubberband_get_latency(p->rb);
Note: See TracChangeset
for help on using the changeset viewer.