- Timestamp:
- Nov 5, 2009, 11:19:40 PM (15 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:
- 2e4fb04
- Parents:
- e5b9a46
- Location:
- src/temporal
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
src/temporal/resampler.c
re5b9a46 r16ed726 21 21 #include "config.h" 22 22 23 #include "aubio_priv.h" 24 #include "fvec.h" 25 #include "temporal/resampler.h" 26 23 27 #if HAVE_SAMPLERATE 24 28 25 29 #include <samplerate.h> /* from libsamplerate */ 26 27 #include "aubio_priv.h"28 #include "fvec.h"29 #include "temporal/resampler.h"30 30 31 31 struct _aubio_resampler_t … … 74 74 } 75 75 76 #else 77 struct _aubio_resampler_t 78 { 79 }; 80 81 aubio_resampler_t * 82 new_aubio_resampler (smpl_t ratio UNUSED, uint_t type UNUSED) 83 { 84 AUBIO_ERR ("aubio was not compiled with libsamplerate\n"); 85 return NULL; 86 } 87 88 void 89 del_aubio_resampler (aubio_resampler_t * s) 90 { 91 } 92 93 void 94 aubio_resampler_do (aubio_resampler_t * s, fvec_t * input, fvec_t * output) 95 { 96 } 76 97 #endif /* HAVE_SAMPLERATE */ -
src/temporal/resampler.h
re5b9a46 r16ed726 30 30 31 31 */ 32 33 #if HAVE_SAMPLERATE34 32 35 33 #ifdef __cplusplus … … 65 63 #endif 66 64 67 #endif /* HAVE_SAMPLERATE */68 69 65 #endif /* _RESAMPLE_H */
Note: See TracChangeset
for help on using the changeset viewer.