Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 45341
Collapse All | Expand All

(-)gnuitar-0.3.1/src/distort2.c (-3 / +6 lines)
Lines 17-25 Link Here
17
 * along with this program; if not, write to the Free Software
17
 * along with this program; if not, write to the Free Software
18
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
19
 *
19
 *
20
 * $Id: distort2.c,v 1.5 2003/04/17 12:22:00 fonin Exp $
20
 * $Id: distort2.c,v 1.6 2003/04/21 09:35:51 fonin Exp $
21
 *
21
 *
22
 * $Log: distort2.c,v $
22
 * $Log: distort2.c,v $
23
 * Revision 1.6  2003/04/21 09:35:51  fonin
24
 * Bugfix with missing parameter in strncat(), line 74.
25
 *
23
 * Revision 1.5  2003/04/17 12:22:00  fonin
26
 * Revision 1.5  2003/04/17 12:22:00  fonin
24
 * More search paths for lookup dir.
27
 * More search paths for lookup dir.
25
 *
28
 *
Lines 71-77 Link Here
71
74
72
    strncpy(filename, lookup_dir, 255);
75
    strncpy(filename, lookup_dir, 255);
73
    strcat(filename,FILESEP);
76
    strcat(filename,FILESEP);
74
    strncat(filename, "distort2lookup_");
77
    strcat(filename, "distort2lookup_");
75
    // sprintf(tmp,"%i",sr);
78
    // sprintf(tmp,"%i",sr);
76
    strcat(filename, "44100");
79
    strcat(filename, "44100");
77
    strncat(filename, tmp, 255);
80
    strncat(filename, tmp, 255);
Lines 346-352 Link Here
346
    ap->r2 = 510;
349
    ap->r2 = 510;
347
    ap->r1 = 1;
350
    ap->r1 = 1;
348
    ap->lowpass = 350;
351
    ap->lowpass = 350;
349
    ap->noisegate = 6000;
352
    ap->noisegate = 3000;
350
353
351
    RC_setup(10, 1.5, &(ap->fd));
354
    RC_setup(10, 1.5, &(ap->fd));
352
    RC_set_freq(ap->lowpass, &(ap->fd));
355
    RC_set_freq(ap->lowpass, &(ap->fd));

Return to bug 45341