summaryrefslogtreecommitdiff
path: root/lib/libsndio
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2022-04-30 08:47:19 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2022-04-30 08:47:19 +0000
commitf97e23d4d7960ad7811b5e87361dcc176fd8d6ea (patch)
treedadde83174eac188107bb4fb958fe0f9572d3941 /lib/libsndio
parentcc664fa3fec9bf1f199d6dfa8c13678e548da0de (diff)
Tweak to clarify sio_stop(3) and sio_flush() description, from jmc@
Diffstat (limited to 'lib/libsndio')
-rw-r--r--lib/libsndio/sio_open.38
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libsndio/sio_open.3 b/lib/libsndio/sio_open.3
index 836bb66a01e..ed2dea5f906 100644
--- a/lib/libsndio/sio_open.3
+++ b/lib/libsndio/sio_open.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sio_open.3,v 1.54 2022/04/29 08:30:48 ratchov Exp $
+.\" $OpenBSD: sio_open.3,v 1.55 2022/04/30 08:47:18 ratchov 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 29 2022 $
+.Dd $Mdocdate: April 30 2022 $
.Dt SIO_OPEN 3
.Os
.Sh NAME
@@ -409,7 +409,7 @@ The
function puts the audio subsystem
in the same state as before
.Fn sio_start
-is called.
+was called.
It stops recording, drains the play buffer and then stops playback.
If samples to play are queued but playback hasn't started yet
then playback is forced immediately; playback will actually stop
@@ -422,7 +422,7 @@ function stops playback and recording immediately,
possibly discarding play buffer contents, and puts the audio subsystem
in the same state as before
.Fn sio_start
-is called.
+was called.
.Ss Playing and recording
When record mode is selected, the
.Fn sio_read