~ubuntu-branches/debian/stretch/bristol/stretch

« back to all changes in this revision

Viewing changes to bristol/filter2.c

  • Committer: Package Import Robot
  • Author(s): Alessio Treglia
  • Date: 2011-11-14 06:15:01 UTC
  • mfrom: (1.2.6) (6.1.12 sid)
  • Revision ID: package-import@ubuntu.com-20111114061501-fralw11sxtl7n929
Tags: 0.60.9-1
* New upstream bugfix release.
* Depends on libjack-dev only.
* Refresh patches.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
 
2
2
/*
3
3
 *  Diverse Bristol audio routines.
4
 
 *  Copyright (c) by Nick Copeland <nickycopeland@hotmail.com> 1996,2010
 
4
 *  Copyright (c) by Nick Copeland <nickycopeland@hotmail.com> 1996,2011
5
5
 *
6
6
 *
7
7
 *   This program is free software; you can redistribute it and/or modify
1301
1301
                 * We shuold really interpret coff (the configured frequency) as
1302
1302
                 * a function up to about 20KHz whatever the resampling rate.
1303
1303
                 */
1304
 
                if ((kfc = coff + *mb++ * Mod) > _f_lim_r)
1305
 
                        kfc = _f_lim_r;
 
1304
                if ((kfc = coff + *mb++ * Mod) > _f_lim)
 
1305
                        kfc = _f_lim;
1306
1306
                else if (kfc < 0)
1307
1307
                        kfc = 0;
1308
1308