diff options
author | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2008-12-26 13:29:32 +0000 |
---|---|---|
committer | Alexandre Ratchov <ratchov@cvs.openbsd.org> | 2008-12-26 13:29:32 +0000 |
commit | 8053b28c2bda33a54ea77c203a7f4ab09460ef21 (patch) | |
tree | 6490059fe0dcd59ca927cfede931e111e667a94c /usr.bin/aucat/aucat.c | |
parent | 5b035962a1b9d0cd936ff49be91cca1c76e8b02a (diff) |
*** empty log message ***
Diffstat (limited to 'usr.bin/aucat/aucat.c')
-rw-r--r-- | usr.bin/aucat/aucat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/aucat/aucat.c b/usr.bin/aucat/aucat.c index 2099b4df5a5..7c45e3bb4c4 100644 --- a/usr.bin/aucat/aucat.c +++ b/usr.bin/aucat/aucat.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aucat.c,v 1.48 2008/12/07 17:10:41 ratchov Exp $ */ +/* $OpenBSD: aucat.c,v 1.49 2008/12/26 13:29:31 ratchov Exp $ */ /* * Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org> * @@ -461,8 +461,8 @@ main(int argc, char **argv) * inputs and outputs and find the maximum sample rate * and channel number. */ - aparams_init(&dipar, NCHAN_MAX - 1, 0, RATE_MIN); - aparams_init(&dopar, NCHAN_MAX - 1, 0, RATE_MIN); + aparams_init(&dipar, dipar.cmin, dipar.cmax, dipar.rate); + aparams_init(&dopar, dopar.cmin, dopar.cmax, dopar.rate); SLIST_FOREACH(fa, &ifiles, entry) { aparams_grow(&dopar, &fa->ipar); } |