From f65162524774dc69bc88c2556fcdc1d00adde9b4 Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Fri, 17 Mar 2017 18:23:50 +0100 Subject: [PATCH] src/synth/sampler.h: improve documentation --- src/synth/sampler.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/synth/sampler.h b/src/synth/sampler.h index 1b95f3f4..3e7db30c 100644 --- a/src/synth/sampler.h +++ b/src/synth/sampler.h @@ -32,8 +32,8 @@ TODO: - add _preset_threaded(level) - - add _set_stretch - - add _set_pitch + - rename _set_loop/_get_loop to _set_looping/_get_looping + - add option to pass a callback to signal eof \example synth/test-sampler.c @@ -154,7 +154,7 @@ uint_t aubio_sampler_get_loop(aubio_sampler_t * o); */ uint_t aubio_sampler_set_loop(aubio_sampler_t * o, uint_t loop); -/** play sample from start +/** play sample \param o sampler, created by new_aubio_sampler() @@ -203,7 +203,7 @@ uint_t aubio_sampler_get_eof(aubio_sampler_t * o); \param o sampler, created by new_aubio_sampler() - \return 1 when the eof is being reached, 0 otherwise + \return 1 when end of file has been reached, 0 otherwise */ uint_t aubio_sampler_get_finished (aubio_sampler_t * o); -- 2.11.0