~ubuntu-branches/ubuntu/wily/fil-plugins/wily

« back to all changes in this revision

Viewing changes to filters.cc

  • Committer: Bazaar Package Importer
  • Author(s): Free Ekanayaka
  • Date: 2006-05-23 07:54:50 UTC
  • mfrom: (1.1.1 upstream) (2.1.1 dapper)
  • Revision ID: james.westby@ubuntu.com-20060523075450-yo4tqr5qn2z0tx3q
Tags: 0.1.0-1
* New upstream release
* New package maintainer Debian Multimedia Team <debian-multimedia@lists.debian.org>
* Updated policy standard
* Bug fix: "Spelling mistake in package description", thanks to Simon
  Waters (Closes: #363412).

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
    int   i, j, k;
47
47
    float *aip = _port [AIP];
48
48
    float *aop = _port [AOP];
49
 
    float *p, sig [32];
 
49
    float *p, sig [48];
50
50
    float t, g, d;
51
51
    float fgain;
52
52
    float sfreq [NSECT];
61
61
        if (t > 0.4998) t = 0.4998;
62
62
        sfreq [j] = t;        
63
63
        sband [j] = _port [SECT + 4 * j + Paramsect::BAND][0];
64
 
        if (_port [SECT + 4 * j + Paramsect::SECT][0]) sgain [j] = exp2ap (0.1661 * _port [SECT + 4 * j + Paramsect::GAIN][0]);
 
64
        if (_port [SECT + 4 * j + Paramsect::SECT][0] > 0) sgain [j] = exp2ap (0.1661 * _port [SECT + 4 * j + Paramsect::GAIN][0]);
65
65
        else sgain [j] = 1.0;
66
66
    }
67
67
 
86
86
        j = _fade;
87
87
        g = j / 16.0;
88
88
        p = 0;
89
 
        if (_port [FILT][0])
 
89
        if (_port [FILT][0] > 0)
90
90
        {
91
91
            if (j == 16) p = sig;
92
92
            else ++j;