Changeset e2645cb


Ignore:
Timestamp:
Sep 21, 2016, 3:54:22 PM (3 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/pitchshift, feature/timestretch, pitchshift, sampler, timestretch
Children:
a9eb93e
Parents:
8ba8bbe
Message:

src/effects/pitchshift.c: remove unused timeratio

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/effects/pitchshift.c

    r8ba8bbe re2645cb  
    4141  uint_t samplerate;              /**< samplerate */
    4242  uint_t hopsize;                 /**< hop size */
    43   smpl_t timeratio;               /**< time ratio */
    4443  smpl_t pitchscale;              /**< pitch scale */
    4544
     
    9594  //p->rboptions |= RubberBandOptionFormantShifted;
    9695  //p->rboptions |= RubberBandOptionPitchHighConsistency;
    97   p->rb = rubberband_new(samplerate, 1, p->rboptions, p->timeratio, p->pitchscale);
     96  p->rb = rubberband_new(samplerate, 1, p->rboptions, 1., p->pitchscale);
    9897  rubberband_set_max_process_size(p->rb, p->hopsize);
    9998  //rubberband_set_debug_level(p->rb, 10);
Note: See TracChangeset for help on using the changeset viewer.