aboutsummaryrefslogtreecommitdiff
path: root/sio.c
diff options
context:
space:
mode:
Diffstat (limited to 'sio.c')
-rw-r--r--sio.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sio.c b/sio.c
index 69a91f6..7f388e4 100644
--- a/sio.c
+++ b/sio.c
@@ -35,7 +35,7 @@ struct sio {
};
struct sio *
-init_sio(int factor)
+init_sio()
{
struct sio *sio;
size_t bufsz;
@@ -67,10 +67,7 @@ init_sio(int factor)
sio->par.sig != SIGNED)
errx(1, "unsupported audio params");
- if (factor < 0)
- sio->round = ROUND >> -factor;
- else
- sio->round = ROUND << factor;
+ sio->round = ROUND;
sio->roundsz = sio->round * sio->par.rchan * sizeof(int16_t);
bufsz = sio->par.rate / FPS; /* 24 pictures/second */