Changeset ccdc51b


Ignore:
Timestamp:
Mar 10, 2017, 8:34:38 PM (3 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/constantq, feature/pitchshift, feature/pydocstrings, feature/timestretch, master, sampler
Children:
2f99427
Parents:
1013c5d
Message:

examples/aubiotrack.c: avoid saturation in when using --mix-input

File:
1 edited

Legend:

Unmodified
Added
Removed
  • examples/aubiotrack.c

    r1013c5d rccdc51b  
    4747    aubio_wavetable_stop ( wavetable );
    4848  }
    49   if (mix_input)
     49  if (mix_input) {
    5050    aubio_wavetable_do (wavetable, ibuf, obuf);
    51   else
     51    fvec_clamp(obuf, 1.);
     52  } else {
    5253    aubio_wavetable_do (wavetable, obuf, obuf);
     54  }
    5355}
    5456
Note: See TracChangeset for help on using the changeset viewer.