add oggdec(1) and oggenc(1) manpages

front
cinap_lenrek 2012-01-22 00:13:25 +01:00
parent 5524d76075
commit e6507897a1
2 changed files with 54 additions and 0 deletions

23
sys/man/1/oggdec Normal file
View File

@ -0,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.

31
sys/man/1/oggenc Normal file
View File

@ -0,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.