summaryrefslogtreecommitdiff
path: root/lib/libsndio
diff options
context:
space:
mode:
authorJacob Meuser <jakemsr@cvs.openbsd.org>2010-04-26 07:11:11 +0000
committerJacob Meuser <jakemsr@cvs.openbsd.org>2010-04-26 07:11:11 +0000
commitcde3e380bfecc50fb439d29181799ca1bdc83cbd (patch)
tree6686fd4ce855fddd189261d8fbabd27fc6bf1e05 /lib/libsndio
parent36e448944b0b2563eedabe7250a2155262915c8d (diff)
once sio_start() has been called, stream parameters cannot be
changed until after sio_stop() is called ok ratchov@, jmc@
Diffstat (limited to 'lib/libsndio')
-rw-r--r--lib/libsndio/sio_open.311
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/libsndio/sio_open.3 b/lib/libsndio/sio_open.3
index 689affe68a8..91135d05c25 100644
--- a/lib/libsndio/sio_open.3
+++ b/lib/libsndio/sio_open.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sio_open.3,v 1.23 2010/04/06 20:07:01 ratchov Exp $
+.\" $OpenBSD: sio_open.3,v 1.24 2010/04/26 07:11:10 jakemsr Exp $
.\"
.\" Copyright (c) 2007 Alexandre Ratchov <alex@caoua.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: April 6 2010 $
+.Dd $Mdocdate: April 26 2010 $
.Dt SIO_OPEN 3
.Os
.Sh NAME
@@ -263,6 +263,13 @@ Sometimes the rate set can be slightly different to what was requested.
A difference of about 0.5% is not audible and should be ignored.
.El
.Pp
+Parameters cannot be changed while the stream is in a waiting state;
+if
+.Fn sio_start
+has been called,
+.Fn sio_stop
+must be called before parameters can be changed.
+.Pp
If
.Nm libsndio
is used to connect to the