From: Paul Brossier Date: Wed, 21 Nov 2018 19:53:54 +0000 (+0100) Subject: [wavetable] revert 9511547 to preserve api X-Git-Tag: 0.4.8~12 X-Git-Url: https://git.aubio.org/?p=aubio.git;a=commitdiff_plain;h=afe90ee9fbd1a273515666d6e7f7a3e1f9f4c955 [wavetable] revert 9511547 to preserve api --- diff --git a/src/synth/wavetable.h b/src/synth/wavetable.h index e57cb90a..b3335754 100644 --- a/src/synth/wavetable.h +++ b/src/synth/wavetable.h @@ -51,6 +51,16 @@ typedef struct _aubio_wavetable_t aubio_wavetable_t; */ aubio_wavetable_t * new_aubio_wavetable(uint_t samplerate, uint_t hop_size); +/** load source in wavetable + + \param o wavetable, created by new_aubio_wavetable() + \param uri the uri of the source to load + + \return 0 if successful, non-zero otherwise + +*/ +uint_t aubio_wavetable_load( aubio_wavetable_t * o, const char_t * uri ); + /** process wavetable function \param o wavetable, created by new_aubio_wavetable()