Source-Changes-HG archive

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

[src/netbsd-1-6]: src/share/man/man9 Pull up revision 1.22 (requested by 194 ...



details:   https://anonhg.NetBSD.org/src/rev/02485c40dcce
branches:  netbsd-1-6
changeset: 527807:02485c40dcce
user:      tv <tv%NetBSD.org@localhost>
date:      Mon Jun 10 16:03:28 2002 +0000

description:
Pull up revision 1.22 (requested by 194 in ticket #0):
add factor_denom.

diffstat:

 share/man/man9/audio.9 |  10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diffs (39 lines):

diff -r f2b4981c76e6 -r 02485c40dcce share/man/man9/audio.9
--- a/share/man/man9/audio.9    Mon Jun 10 16:02:33 2002 +0000
+++ b/share/man/man9/audio.9    Mon Jun 10 16:03:28 2002 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: audio.9,v 1.21 2002/03/13 03:46:55 kent Exp $
+.\"    $NetBSD: audio.9,v 1.21.2.1 2002/06/10 16:03:28 tv Exp $
 .\"
 .\" Copyright (c) 1999, 2000 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -103,6 +103,7 @@
        /* Software en/decode functions, set if SW coding required by HW */
        void    (*sw_code)(void *, u_char *, int);
        int     factor;                 /* coding space change */
+       int     factor_denom;           /* denominator of factor */
        /*
         * The following four members represent what format is used in a
         * hardware.  If hw_sample_rate != sample_rate || hw_channels !=
@@ -205,9 +206,10 @@
 .Pp
 If the hardware requires software assistance with some encoding
 (e.g., it might be lacking mulaw support) it should fill the
-.Va sw_code
+.Va sw_code ,
+.Va factor
 and
-.Va factor
+.Va factor_denom
 fields of these structures with translation information, and
 set to hw_* fields what format the hardware actually uses.
 For example, if
@@ -219,6 +221,8 @@
 .Va sw_code ,
 2 to
 .Va factor ,
+1 to
+.Va factor_denom ,
 .Dv AUDIO_ENCODING_SLINEAR_LE
 to 
 .Va hw_encoding



Home | Main Index | Thread Index | Old Index