shithub: aubio

Download patch

ref: 8716f633a98ba65d46ff30b19a5f69b6a5466e4b
parent: 4583e757527b56d57e7ade6436e13585fc0c9669
parent: fa2ab259fa540c487eeb7f032073d5b00abe6fb1
author: Paul Brossier <piem@piem.org>
date: Mon Oct 29 19:41:53 EDT 2018

Merge branch 'fix/wavetable'

--- a/src/synth/wavetable.c
+++ b/src/synth/wavetable.c
@@ -164,7 +164,7 @@
   //aubio_wavetable_set_freq (s, 0.);
   aubio_wavetable_set_amp (s, 0.);
   //s->last_pos = 0;
-  return aubio_wavetable_set_playing (s, 1);
+  return aubio_wavetable_set_playing (s, 0);
 }
 
 uint_t aubio_wavetable_set_freq ( aubio_wavetable_t * s, smpl_t freq )
--- a/src/synth/wavetable.h
+++ b/src/synth/wavetable.h
@@ -51,16 +51,6 @@
 */
 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()