summaryrefslogtreecommitdiff
path: root/usr.bin/sndiod
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2015-09-05 11:19:21 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2015-09-05 11:19:21 +0000
commitf84add81f55bdb6c2ed15631aaf7b05e89c4e4d0 (patch)
tree34d5810b3c5fcd456e467fdaf1730e6a410c738c /usr.bin/sndiod
parent7232bdfd1b54cdacdbbb87f2ea310aedd5df9ad2 (diff)
typos in comments: xfree -> free
Diffstat (limited to 'usr.bin/sndiod')
-rw-r--r--usr.bin/sndiod/dev.c6
-rw-r--r--usr.bin/sndiod/sndiod.112
2 files changed, 9 insertions, 9 deletions
diff --git a/usr.bin/sndiod/dev.c b/usr.bin/sndiod/dev.c
index 8ddffaea739..b19acb7b170 100644
--- a/usr.bin/sndiod/dev.c
+++ b/usr.bin/sndiod/dev.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dev.c,v 1.17 2014/06/02 07:51:25 ratchov Exp $ */
+/* $OpenBSD: dev.c,v 1.18 2015/09/05 11:19:20 ratchov Exp $ */
/*
* Copyright (c) 2008-2012 Alexandre Ratchov <alex@caoua.org>
*
@@ -1452,7 +1452,7 @@ slot_new(struct dev *d, char *who, struct slotops *ops, void *arg, int mode)
}
/*
- * find a xfree controller slot with the same name/unit
+ * find a free controller slot with the same name/unit
*/
for (i = 0, s = d->slot; i < DEV_NSLOT; i++, s++) {
if (s->ops == NULL &&
@@ -1470,7 +1470,7 @@ slot_new(struct dev *d, char *who, struct slotops *ops, void *arg, int mode)
}
/*
- * couldn't find a matching slot, pick oldest xfree slot
+ * couldn't find a matching slot, pick oldest free slot
* and set its name/unit
*/
bestser = 0;
diff --git a/usr.bin/sndiod/sndiod.1 b/usr.bin/sndiod/sndiod.1
index 145bc4ff55a..a3060d398cf 100644
--- a/usr.bin/sndiod/sndiod.1
+++ b/usr.bin/sndiod/sndiod.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: sndiod.1,v 1.4 2014/08/13 08:42:46 nicm Exp $
+.\" $OpenBSD: sndiod.1,v 1.5 2015/09/05 11:19:20 ratchov Exp $
.\"
.\" Copyright (c) 2006-2012 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: August 13 2014 $
+.Dd $Mdocdate: September 5 2015 $
.Dt SNDIOD 1
.Os
.Sh NAME
@@ -474,7 +474,7 @@ the default
and a MIDI-controlled
.Va snd/0.mmc :
.Bd -literal -offset indent
-$ sndiod -r 48000 -z 400 -s default -t slave -s mmc
+$ sndiod \-r 48000 \-z 400 \-s default \-t slave \-s mmc
.Ed
.Pp
Streams connected to
@@ -493,7 +493,7 @@ and
.Pa snd/0.rear
devices:
.Bd -literal -offset indent
-$ sndiod -s default -c 2:3 -s rear
+$ sndiod \-s default \-c 2:3 \-s rear
.Ed
.Pp
Start server creating the default sub-device with low volume and
@@ -503,7 +503,7 @@ and
.Pa snd/0.max
devices:
.Bd -literal -offset indent
-$ sndiod -v 65 -s default -v 127 -s max
+$ sndiod \-v 65 \-s default \-v 127 \-s max
.Ed
.Pp
Start server configuring the audio device to use
@@ -512,7 +512,7 @@ and 2-block buffers.
The corresponding latency is 10ms, which is
the time it takes the sound to propagate 3.5 meters.
.Bd -literal -offset indent
-$ sndiod -r 48000 -b 480 -z 240
+$ sndiod \-r 48000 \-b 480 \-z 240
.Ed
.Sh SEE ALSO
.Xr sndio 7