summaryrefslogtreecommitdiff
path: root/sys/man
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2013-12-26 21:04:25 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2013-12-26 21:04:25 +0100
commitb9bec46b989577209c88a8dc8ee8bb171f8c96e4 (patch)
treecc8ae22323c1b2a81c1830cad0e0def29c19d0ce /sys/man
parentcad92eedd9d2eca65216046e3ad735fd18c933e7 (diff)
add audio/mixfs to allow simultanious playback streams over a single /dev/audio
Diffstat (limited to 'sys/man')
-rw-r--r--sys/man/1/audio43
1 files changed, 43 insertions, 0 deletions
diff --git a/sys/man/1/audio b/sys/man/1/audio
index e751f9fb4..cfc337fa5 100644
--- a/sys/man/1/audio
+++ b/sys/man/1/audio
@@ -53,6 +53,17 @@ q ] [
.I length
]
.PP
+.B audio/mixfs
+[
+.B -D
+] [
+.B -s
+.I srvname
+] [
+.B -m
+.I mtpt
+]
+.PP
.SH DESCRIPTION
These programs decode and encode various audio formats from and to
16-bit stereo PCM (little endian). The decoders read the compressed
@@ -260,6 +271,38 @@ until it reached end of file or, if
was given, a number of
.I length
bytes have been consumed from input.
+.PP
+.I Mixfs
+is a fileserver serving a single
+.B audio
+file which allows simultanious playback of audio streams. When
+run, it binds over
+.B /dev/audio
+and mixes the audio samples that get written to it.
+A service name
+.I srvname
+can be given with the
+.B -s
+option which gets posted to
+.BR /srv .
+By default,
+.I mixfs
+mounts itself on
+.B /mnt/mix
+and then binds
+.B /mnt/mix/audio
+over
+.BR /dev .
+A alternative mountpoint
+.I mtpt
+can be specified with the
+.B -m
+option.
+The
+.B -D
+option causes
+.B 9p
+debug messages to be written to file-descriptor 2.
.SH EXAMPLE
Play back an
.L .mp3