Module Name:    src
Committed By:   isaki
Date:           Sat Mar 28 04:55:08 UTC 2020

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

Log Message:
Add description about channel limitation introduced in audio.c 1.43.
PR kern/54973.


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/share/man/man4/audio.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/audio.4
diff -u src/share/man/man4/audio.4:1.101 src/share/man/man4/audio.4:1.102
--- src/share/man/man4/audio.4:1.101	Sat Mar 28 04:21:58 2020
+++ src/share/man/man4/audio.4	Sat Mar 28 04:55:08 2020
@@ -1,4 +1,4 @@
-.\"	$NetBSD: audio.4,v 1.101 2020/03/28 04:21:58 isaki Exp $
+.\"	$NetBSD: audio.4,v 1.102 2020/03/28 04:55:08 isaki Exp $
 .\"
 .\" Copyright (c) 1996 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -400,18 +400,25 @@ unsigned linear encoding with big endian
 Dolby Digital AC3
 .El
 .Pp
-Regardless of formats supported by underlying driver, the
+The
 .Nm
 driver accepts the following formats.
 .Va encoding
 and
 .Va precision
 are one of the values obtained by
-.Dv AUDIO_GETENC .
-.Va channels
-ranges from 1 to 12.
+.Dv AUDIO_GETENC ,
+regardless of formats supported by underlying driver.
 .Va frequency
-ranges from 1000Hz to 192000Hz.
+ranges from 1000Hz to 192000Hz,
+regardless of frequency (ranges) supported by underlying driver.
+.Va channels
+depends your underlying driver.
+If the underlying driver only supports monaural (1channel)
+or stereo (2channels), you can specify 1 or 2 regardless of
+number of channels supported by underlying driver.
+If the underlying driver supports three or more channels, you can specify
+the number of channels supported by the underlying driver or less. 
 .Pp
 The
 .Va gain ,

Reply via email to