summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2016-06-08 04:36:49 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2016-06-08 04:36:49 +0000
commit3735facd2e4ea91815984f2f2bc805b074a2159d (patch)
treebe4875b38c605e686dc2a8bf47e8f50a73b9b043
parent6e934407d41aab3068a4289d54e6fa79c71d83f2 (diff)
removed unused fields of resamp structure
-rw-r--r--usr.bin/aucat/dsp.c4
-rw-r--r--usr.bin/aucat/dsp.h3
2 files changed, 2 insertions, 5 deletions
diff --git a/usr.bin/aucat/dsp.c b/usr.bin/aucat/dsp.c
index 22526cc9b22..0d475e169cf 100644
--- a/usr.bin/aucat/dsp.c
+++ b/usr.bin/aucat/dsp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsp.c,v 1.7 2016/06/07 06:11:32 ratchov Exp $ */
+/* $OpenBSD: dsp.c,v 1.8 2016/06/08 04:36:48 ratchov Exp $ */
/*
* Copyright (c) 2008-2012 Alexandre Ratchov <alex@caoua.org>
*
@@ -460,8 +460,6 @@ resamp_init(struct resamp *p, unsigned int iblksz,
p->iblksz = iblksz;
p->oblksz = oblksz;
p->diff = 0;
- p->idelta = 0;
- p->odelta = 0;
p->nch = nch;
p->ctx_start = 0;
for (i = 0; i < NCHAN_MAX * RESAMP_NCTX; i++)
diff --git a/usr.bin/aucat/dsp.h b/usr.bin/aucat/dsp.h
index d56e2f034a6..a7a0a01df24 100644
--- a/usr.bin/aucat/dsp.h
+++ b/usr.bin/aucat/dsp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dsp.h,v 1.4 2016/06/07 06:11:32 ratchov Exp $ */
+/* $OpenBSD: dsp.h,v 1.5 2016/06/08 04:36:48 ratchov Exp $ */
/*
* Copyright (c) 2012 Alexandre Ratchov <alex@caoua.org>
*
@@ -116,7 +116,6 @@ struct resamp {
adata_t ctx[NCHAN_MAX * RESAMP_NCTX];
unsigned int iblksz, oblksz;
int diff;
- int idelta, odelta; /* remainder of ipos/opos */
int nch;
};