diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2008-12-07 17:10:42 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2008-12-07 17:10:42 +0000 |
commit | 14c3f6f95a831612faa3e56bfbcad1ee0ed463a0 (patch) | |
tree | f27e3f479c06296eadee69e059eda5bf8d385b84 /usr.bin/aucat/aucat.c | |
parent | a94dcf486e75ff88ac96ebb70ea645ac590d7790 (diff) |
When resampling, don't require the sample frequency to be an integer.
This removes the arithmetic constraint between the sample frequency
and the block size and all the associated code. Now aucat can work
in server mode with any block size.
ok jakemsr
Diffstat (limited to 'usr.bin/aucat/aucat.c')
-rw-r--r-- | usr.bin/aucat/aucat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/aucat/aucat.c b/usr.bin/aucat/aucat.c index ae7d7bcf90f..2099b4df5a5 100644 --- a/usr.bin/aucat/aucat.c +++ b/usr.bin/aucat/aucat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aucat.c,v 1.47 2008/11/23 12:29:32 ratchov Exp $ */ +/* $OpenBSD: aucat.c,v 1.48 2008/12/07 17:10:41 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -497,7 +497,7 @@ main(int argc, char **argv) dev_init(devpath, (mode & MODE_REC) ? &dipar : NULL, (mode & MODE_PLAY) ? &dopar : NULL, - bufsz, l_flag); + bufsz); /* * Create buffers for all input and output pipes. |