From b9bec46b989577209c88a8dc8ee8bb171f8c96e4 Mon Sep 17 00:00:00 2001 From: cinap_lenrek Date: Thu, 26 Dec 2013 21:04:25 +0100 Subject: add audio/mixfs to allow simultanious playback streams over a single /dev/audio --- sys/man/1/audio | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) (limited to 'sys/man/1/audio') 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 -- cgit v1.2.3