Ignore:
Timestamp:
Nov 28, 2016, 2:50:46 PM (7 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
sampler
Children:
a69e7aa
Parents:
5382846
Message:

src/synth/sampler.h: add _{get,set}_perfectloop

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/synth/sampler.h

    r5382846 r943ef49  
    221221uint_t aubio_sampler_get_waited_opening(aubio_sampler_t * o, uint_t waited);
    222222
     223/** get the current perfect loop mode
     224
     225  \param o sampler, created by new_aubio_sampler()
     226
     227  \return the total delay in samples when the file was successfuly opened, 0
     228  otherwise
     229
     230*/
     231uint_t aubio_sampler_get_perfectloop (aubio_sampler_t *o);
     232
     233/** set the perfect loop mode
     234
     235  \param o sampler, created by new_aubio_sampler()
     236  \param perfectloop 1 to set perfect loop mode, 0 to turn it of
     237
     238  \return AUBIO_OK on success, AUBIO_FAIL otherwise
     239
     240 */
     241uint_t aubio_sampler_set_perfectloop (aubio_sampler_t *o, uint_t perfectloop);
     242
    223243/** seek to position
    224244
Note: See TracChangeset for help on using the changeset viewer.