Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man4 Explain the format of the raw PCM data users ...



details:   https://anonhg.NetBSD.org/src/rev/e0e6bc78a18d
branches:  trunk
changeset: 980480:e0e6bc78a18d
user:      nia <nia%NetBSD.org@localhost>
date:      Sat Feb 06 12:13:44 2021 +0000

description:
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.

diffstat:

 share/man/man4/pad.4 |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r ef236a45caee -r e0e6bc78a18d share/man/man4/pad.4
--- a/share/man/man4/pad.4      Sat Feb 06 12:07:57 2021 +0000
+++ b/share/man/man4/pad.4      Sat Feb 06 12:13:44 2021 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
 .\" All rights reserved.
@@ -39,6 +39,10 @@
 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



Home | Main Index | Thread Index | Old Index