Update of /cvsroot/alsa/alsa-lib/src/conf/pcm
In directory sc8-pr-cvs1:/tmp/cvs-serv1333/pcm

Modified Files:
        Makefile.am 
Added Files:
        surround41.conf surround50.conf 
Log Message:
Added surround41 and surround50 definitions

--- NEW FILE: surround41.conf ---
#
#  Hardware output from 4.1 speakers.
#  Samples must be positioned:
#    chn0 - front left
#    chn1 - front right
#    chn2 - rear left
#    chn3 - rear right
#    chn4 - LFE
#

pcm.!surround41 {
        @args [ CARD DEV ]
        @args.CARD {
                type string
                default {
                        @func getenv
                        vars [
                                ALSA_SURROUND41_CARD
                                ALSA_PCM_CARD
                                ALSA_CARD
                        ]
                        default {
                                @func refer
                                name defaults.pcm.surround41.card
                        }
                }
        }
        @args.DEV {
                type integer
                default {
                        @func igetenv
                        vars [
                                ALSA_SURROUND41_DEVICE
                        ]
                        default {
                                @func refer
                                name defaults.pcm.surround41.device
                        }
                }
        }
        type route
        slave.pcm {
                @func refer
                name {
                        @func concat
                        strings [
                                "cards."
                                {
                                        @func card_driver
                                        card $CARD
                                }
                                ".pcm.surround51." $DEV ":CARD=" $CARD
                        ]
                }
        }
        slave.channels 6
        ttable.0.0 1
        ttable.1.1 1
        ttable.2.2 1
        ttable.3.3 1
        ttable.4.5 1
}

--- NEW FILE: surround50.conf ---
#
#  Hardware output from 5.0 speakers.
#  Samples must be positioned:
#    chn0 - front left
#    chn1 - front right
#    chn2 - rear left
#    chn3 - rear right
#    chn4 - center
#

pcm.!surround50 {
        @args [ CARD DEV ]
        @args.CARD {
                type string
                default {
                        @func getenv
                        vars [
                                ALSA_SURROUND50_CARD
                                ALSA_PCM_CARD
                                ALSA_CARD
                        ]
                        default {
                                @func refer
                                name defaults.pcm.surround50.card
                        }
                }
        }
        @args.DEV {
                type integer
                default {
                        @func igetenv
                        vars [
                                ALSA_SURROUND50_DEVICE
                        ]
                        default {
                                @func refer
                                name defaults.pcm.surround50.device
                        }
                }
        }
        type route
        slave.pcm {
                @func refer
                name {
                        @func concat
                        strings [
                                "cards."
                                {
                                        @func card_driver
                                        card $CARD
                                }
                                ".pcm.surround51." $DEV ":CARD=" $CARD
                        ]
                }
        }
        slave.channels 6
        ttable.0.0 1
        ttable.1.1 1
        ttable.2.2 1
        ttable.3.3 1
        ttable.4.4 1
}

Index: Makefile.am
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/conf/pcm/Makefile.am,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- Makefile.am 25 Jun 2001 08:45:53 -0000      1.2
+++ Makefile.am 12 Aug 2003 09:34:38 -0000      1.3
@@ -1,5 +1,7 @@
-cfg_files = front.conf rear.conf center_lfe.conf surround40.conf \
-           surround51.conf iec958.conf
+cfg_files = front.conf rear.conf center_lfe.conf \
+           surround40.conf surround41.conf \
+           surround50.conf surround51.conf \
+           iec958.conf
 
 EXTRA_DIST = $(cfg_files)
 



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to