aboutsummaryrefslogtreecommitdiffstats
path: root/audio/nspmod
diff options
context:
space:
mode:
authorjmg <jmg@FreeBSD.org>1997-09-04 13:23:53 +0800
committerjmg <jmg@FreeBSD.org>1997-09-04 13:23:53 +0800
commit5e350dbb7dc99658dd00b2ceb061290fc67b7a41 (patch)
treec0fd418f0b6e26a03bf8132347dc5cd82e367829 /audio/nspmod
parentd53bc38db6fc970d5108ed11c892dda521404d55 (diff)
downloadfreebsd-ports-gnome-5e350dbb7dc99658dd00b2ceb061290fc67b7a41.tar.gz
freebsd-ports-gnome-5e350dbb7dc99658dd00b2ceb061290fc67b7a41.tar.zst
freebsd-ports-gnome-5e350dbb7dc99658dd00b2ceb061290fc67b7a41.zip
fix some brain deadedness in last commit (disable a couple debugging
statements and add a nl)
Diffstat (limited to 'audio/nspmod')
-rw-r--r--audio/nspmod/files/patch-aa4
-rw-r--r--audio/nspmod/files/patch-ac2
2 files changed, 3 insertions, 3 deletions
diff --git a/audio/nspmod/files/patch-aa b/audio/nspmod/files/patch-aa
index d9b77b1fb826..27557f1828c7 100644
--- a/audio/nspmod/files/patch-aa
+++ b/audio/nspmod/files/patch-aa
@@ -100,12 +100,12 @@
perror("dacioConf");
exit(1);
}
-! fprintf(stderr, "sound buffer size = 0x%x\n", buf.size);
+! /*fprintf(stderr, "sound buffer size = 0x%x\n", buf.size);*/
! tmp = buf.size;
! while (tmp <= (0.1 * (dcp->speed * (dcp->stereo+1) * (dcp->bits/8))))
! tmp += buf.size;
! buf.size = tmp;
-! fprintf(stderr, "buffer size = 0x%x\n", buf.size);
+! /*fprintf(stderr, "buffer size = 0x%x\n", buf.size);*/
dci = *dcp;
/*if (buf.top != NULL) free(buf.top);*/
! buf.top = memPerm(buf.size);
diff --git a/audio/nspmod/files/patch-ac b/audio/nspmod/files/patch-ac
index c2e5be6584bc..e031445d0fdd 100644
--- a/audio/nspmod/files/patch-ac
+++ b/audio/nspmod/files/patch-ac
@@ -14,7 +14,7 @@
printf("NSPmod version " LIT(VERSION_MAJOR) "." LIT(VERSION_MINOR) "\n");
printf("Usage: %s [options] modfile\n", argv0);
printf("Options:\n");
-+ printf(" -b # number of bits to output (8 or 16)");
++ printf(" -b # number of bits to output (8 or 16)\n");
printf(" -c # play only the channel\n");
printf(" -e show events\n");
printf(" -f # output sample rate\n");