Module Name:    src
Committed By:   nia
Date:           Sat Feb  6 12:13:44 UTC 2021

Modified Files:
        src/share/man/man4: pad.4

Log Message:
Explain the format of the raw PCM data users can read from a pad(4).

Since it's headerless this is important so the data can be interpreted
properly. Also, ordinary audio ioctls cannot be used on a pad and the
format can't be changed, so applications that attempt to automatically
determine the format of a device like audiorecord don't work.


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/share/man/man4/pad.4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man4/pad.4
diff -u src/share/man/man4/pad.4:1.9 src/share/man/man4/pad.4:1.10
--- src/share/man/man4/pad.4:1.9	Sat Feb  6 12:07:57 2021
+++ src/share/man/man4/pad.4	Sat Feb  6 12:13:44 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: pad.4,v 1.9 2021/02/06 12:07:57 nia Exp $
+.\" $NetBSD: pad.4,v 1.10 2021/02/06 12:13:44 nia Exp $
 .\"
 .\" Copyright (c) 2007 Jared D. McNeill <[email protected]>
 .\" All rights reserved.
@@ -39,6 +39,10 @@ is a pseudo-device driver which provides
 from consumers of an
 .Xr audio 4
 device to userland.
+.Pp
+The raw PCM data readable from
+.Pa /dev/padN
+is encoded in stereo little-endian 16-bit linear PCM at 44100 Hz.
 .Sh FILES
 The
 .Nm

Reply via email to