git: 9front

Download patch

ref: ed75773ef33b04d2cb35c6cdfef5794f4fec58e7
parent: 46b34469956f9c2c7a0083b4ec45afef1e2c7f0c
author: cinap_lenrek <cinap_lenrek@rei2.9hal>
date: Sat Jan 21 19:13:25 EST 2012

add oggdec(1) and oggenc(1) manpages

--- /dev/null
+++ b/sys/man/1/oggdec
@@ -1,0 +1,23 @@
+.TH OGGDEC 1
+.SH NAME
+oggdec \- decode ogg vorbis audio files
+.SH SYNOPSIS
+.B audio/oggdec
+.SH DESCRIPTION
+.I oggdec
+reads encoded data from standard input, and writes
+44100Hz 16 bit LSB stereo data to standard output.
+So
+.IP
+.L
+audio/oggdec < file > /dev/audio
+.LP
+plays file, provided that you have a working /dev/audio.
+.SH SOURCE
+.B /sys/src/cmd/audio/oggdec
+.SH SEE ALSO
+.IR oggenc (1)
+.SH DIAGNOSTICS
+None.
+.SH BUGS
+Other output modes are not supported.
--- /dev/null
+++ b/sys/man/1/oggenc
@@ -1,0 +1,31 @@
+.TH OGGENC 1
+.SH NAME
+oggenc \- encode raw audio to 
+.I ogg vorbis
+audio files
+.SH SYNOPSIS
+.B audio/oggenc
+.SH DESCRIPTION
+.I Oggenc
+reads 44100Hz 16 bit LSB stereo data from standard input, and writes
+encoded 
+.I 128 kbit/s
+variable bit rate
+.I ogg vorbis
+stream to standard output.
+So
+.IP
+.L
+audio/oggenc < /dev/audio > audio.ogg
+.LP
+encodes an ogg vorbis stream from your computer's line in to
+.B audio.ogg
+in real time.
+.SH SOURCE
+.B /sys/src/cmd/audio/oggenc
+.SH SEE ALSO
+.IR oggdec (1)
+.SH DIAGNOSTICS
+None.
+.SH BUGS
+Other input and output modes are not supported.
--