summaryrefslogtreecommitdiff
path: root/share/man/man4/audio.4
diff options
context:
space:
mode:
Diffstat (limited to 'share/man/man4/audio.4')
-rw-r--r--share/man/man4/audio.415
1 files changed, 13 insertions, 2 deletions
diff --git a/share/man/man4/audio.4 b/share/man/man4/audio.4
index 5862446b7fa..0a3fbeb4b7a 100644
--- a/share/man/man4/audio.4
+++ b/share/man/man4/audio.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: audio.4,v 1.57 2008/10/27 07:53:24 jmc Exp $
+.\" $OpenBSD: audio.4,v 1.58 2009/01/16 23:07:33 jakemsr Exp $
.\" $NetBSD: audio.4,v 1.20 1998/05/28 17:27:15 augustss Exp $
.\"
.\" Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: October 27 2008 $
+.Dd $Mdocdate: January 16 2009 $
.Dt AUDIO 4
.Os
.Sh NAME
@@ -441,6 +441,17 @@ unsigned linear encoding with big endian byte order
.El
.Pp
The
+.Va precision
+parameter describes the number of bits of audio data per sample.
+For ample formats such as 8, 16 and 32-bit, where the number of audio data
+bits is a power of 2,
+.Va precision
+is also exactly the size of each sample.
+For other sample formats the sample size is the smallest power of
+2 bits that the data can fit into.
+For example the sample size of 20 and 24-bit formats is 32 bits.
+.Pp
+The
.Va gain ,
.Va port ,
and