=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/aucat/Attic/aproc.c,v retrieving revision 1.24 retrieving revision 1.25 diff -u -r1.24 -r1.25 --- src/usr.bin/aucat/Attic/aproc.c 2008/11/16 16:30:22 1.24 +++ src/usr.bin/aucat/Attic/aproc.c 2008/11/16 17:08:32 1.25 @@ -1,4 +1,4 @@ -/* $OpenBSD: aproc.c,v 1.24 2008/11/16 16:30:22 ratchov Exp $ */ +/* $OpenBSD: aproc.c,v 1.25 2008/11/16 17:08:32 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov * @@ -1015,11 +1015,13 @@ p->u.resamp.odelta = 0; for (i = 0; i < NCHAN_MAX; i++) p->u.resamp.ctx[i] = 0; +#ifdef DEBUG if (debug_level > 0) { - DPRINTF("resamp_new: %s: ", p->name); + fprintf(stderr, "resamp_new: %s: ", p->name); aparams_print2(ipar, opar); - DPRINTF("\n"); + fprintf(stderr, "\n"); } +#endif return p; } @@ -1140,11 +1142,13 @@ p = aproc_new(&cmap_ops, name); for (i = 0; i < NCHAN_MAX; i++) p->u.cmap.ctx[i] = 0; +#ifdef DEBUG if (debug_level > 0) { - DPRINTF("cmap_new: %s: ", p->name); + fprintf(stderr, "cmap_new: %s: ", p->name); aparams_print2(ipar, opar); - DPRINTF("\n"); + fprintf(stderr, "\n"); } +#endif return p; } @@ -1297,11 +1301,13 @@ p->u.conv.bnext = 1; p->u.conv.snext = 0; } +#ifdef DEBUG if (debug_level > 0) { fprintf(stderr, "enc_new: %s: ", p->name); aparams_print(par); fprintf(stderr, "\n"); } +#endif return p; } @@ -1454,10 +1460,12 @@ p->u.conv.bnext = 1; p->u.conv.snext = 0; } +#ifdef DEBUG if (debug_level > 0) { fprintf(stderr, "dec_new: %s: ", p->name); aparams_print(par); fprintf(stderr, "\n"); } +#endif return p; }