summaryrefslogtreecommitdiff
path: root/lib/libsndio/aucat.c
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2009-05-16 12:10:53 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2009-05-16 12:10:53 +0000
commit4f99a01e86753ce8ebf0bb231ca707a99418953e (patch)
tree22b0dd58c5cfba27d41b502b8b6ad5d7e42dd32e /lib/libsndio/aucat.c
parent72e3742d78c2cfbd9922f6bb2625ab415d731242 (diff)
don't set mode in sio_setpar(), already done at initialization
Diffstat (limited to 'lib/libsndio/aucat.c')
-rw-r--r--lib/libsndio/aucat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/libsndio/aucat.c b/lib/libsndio/aucat.c
index f5931778751..cefa0443f0d 100644
--- a/lib/libsndio/aucat.c
+++ b/lib/libsndio/aucat.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aucat.c,v 1.20 2009/05/16 11:15:26 ratchov Exp $ */
+/* $OpenBSD: aucat.c,v 1.21 2009/05/16 12:10:52 ratchov Exp $ */
/*
* Copyright (c) 2008 Alexandre Ratchov <alex@caoua.org>
*
@@ -362,7 +362,6 @@ aucat_setpar(struct sio_hdl *sh, struct sio_par *par)
hdl->wmsg.u.par.rate = par->rate;
hdl->wmsg.u.par.appbufsz = par->appbufsz;
hdl->wmsg.u.par.xrun = par->xrun;
- hdl->wmsg.u.par.mode = hdl->sio.mode;
if (hdl->sio.mode & SIO_REC)
hdl->wmsg.u.par.rchan = par->rchan;
if (hdl->sio.mode & SIO_PLAY)