Changeset 0a257a6 for src/tempo/tempo.c


Ignore:
Timestamp:
Oct 16, 2009, 4:16:42 AM (10 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, pitchshift, sampler, timestretch, yinfft+
Children:
f1b925e
Parents:
6338636
Message:

src/tempo/tempo.{c,h}: setters to return unsigned ints

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/tempo/tempo.c

    r6338636 r0a257a6  
    8787}
    8888
    89 void aubio_tempo_set_silence(aubio_tempo_t * o, smpl_t silence) {
     89uint_t aubio_tempo_set_silence(aubio_tempo_t * o, smpl_t silence) {
    9090  o->silence = silence;
    91   return;
     91  return AUBIO_OK;
    9292}
    9393
    94 void aubio_tempo_set_threshold(aubio_tempo_t * o, smpl_t threshold) {
     94uint_t aubio_tempo_set_threshold(aubio_tempo_t * o, smpl_t threshold) {
    9595  o->threshold = threshold;
    9696  aubio_peakpicker_set_threshold(o->pp, o->threshold);
    97   return;
     97  return AUBIO_OK;
    9898}
    9999
Note: See TracChangeset for help on using the changeset viewer.