~ubuntu-branches/ubuntu/raring/lmms/raring-proposed

« back to all changes in this revision

Viewing changes to plugins/ladspa_effect/calf/src/calf/delay.h

  • Committer: Charlie Smotherman
  • Date: 2012-12-05 22:08:38 UTC
  • mfrom: (33.1.7 lmms_0.4.13)
  • Revision ID: cjsmo@cableone.net-20121205220838-09pjfzew9m5023hr
* New  Upstream release.
  - Minor tweaking to ZynAddSubFX, CALF, SWH plugins  and Stefan Fendt's RC
    filters.
  - Added UI fixes: Magnentic effect of knobs and Piano-roll fixes
  - Updated German localization and copyright year
* debian/lmms-common.install:
  - added /usr/share/applications so the lmms.desktop file will correctly
    install (LP: #863366)
  - This should also fix the Software Center not displaying lmms in sound
    and video (LP: #824231)

Show diffs side-by-side

added added

removed removed

Lines of Context:
92
92
     */
93
93
    template<class U>
94
94
    inline void get_interp(U &odata, int delay, float udelay) {
95
 
//        assert(delay >= 0 && delay < N-1);
 
95
//        assert(delay >= 0 && delay <= N-1);
96
96
        int ppos = wrap_around<N>(pos + N - delay);
97
97
        int pppos = wrap_around<N>(ppos + N - 1);
98
98
        odata = lerp(data[ppos], data[pppos], udelay);