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/dev.h | |
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/dev.h')
-rw-r--r-- | usr.bin/aucat/dev.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/aucat/dev.h b/usr.bin/aucat/dev.h index a131064d2c1..5933f5c7f46 100644 --- a/usr.bin/aucat/dev.h +++ b/usr.bin/aucat/dev.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dev.h,v 1.7 2008/11/16 16:30:22 ratchov Exp $ */ +/* $OpenBSD: dev.h,v 1.8 2008/12/07 17:10:41 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -27,8 +27,8 @@ extern unsigned dev_rate_div, dev_round_div; extern struct aparams dev_ipar, dev_opar; extern struct aproc *dev_mix, *dev_sub, *dev_rec, *dev_play; -void dev_roundrate(unsigned *, unsigned *); -void dev_init(char *, struct aparams *, struct aparams *, unsigned, int); +unsigned dev_roundof(unsigned); +void dev_init(char *, struct aparams *, struct aparams *, unsigned); void dev_start(void); void dev_stop(void); void dev_run(int); |