Hi!

With the latest cs46xx patches it's finally posible to have surround51 with cs46xx soundcards (only dual CODEC's).
This patch just updates the alsa-lib/src/conf/cards/CS46xx.conf file.


$ aplay -D plug:surround51 ... seems to work fine!

/Benny
--- alsa-lib/src/conf/cards/CS46xx.conf Fri Nov 29 15:50:58 2002
+++ ../cvs/alsa-lib/src/conf/cards/CS46xx.conf  Mon Mar 31 00:09:46 2003
@@ -26,6 +26,18 @@
        device 1
 }      
 
+<confdir:pcm/center_lfe.conf>
+
+CS46xx.pcm.center_lfe.0 {
+       @args [ CARD ]
+       @args.CARD {
+               type string
+       }
+       type hw
+       card $CARD
+       device 3
+}      
+
 <confdir:pcm/surround40.conf>
 
 CS46xx.pcm.surround40.0 {
@@ -59,6 +71,53 @@
                { slave 0 channel 1 }
                { slave 1 channel 0 }
                { slave 1 channel 1 }
+       ]
+}
+
+<confdir:pcm/surround51.conf>
+
+CS46xx.pcm.surround51.0 {
+       @args [ CARD ]
+       @args.CARD {
+               type string
+       }
+       type multi
+       slaves [
+               {
+                       pcm {
+                               @func concat
+                               strings [
+                                       "cards.CS46xx.pcm.front.0:CARD=" $CARD
+                               ]
+                       }
+                       channels 2
+               }
+               {
+                       pcm {
+                               @func concat
+                               strings [
+                                       "cards.CS46xx.pcm.rear.0:CARD=" $CARD
+                               ]
+                       }
+                       channels 2
+               }
+               {
+                       pcm {
+                               @func concat
+                               strings [
+                                       "cards.CS46xx.pcm.center_lfe.0:CARD=" $CARD
+                               ]
+                       }
+                       channels 2
+               }
+       ]
+       bindings [
+               { slave 0 channel 0 }
+               { slave 0 channel 1 }
+               { slave 1 channel 0 }
+               { slave 1 channel 1 }
+               { slave 2 channel 0 }
+               { slave 2 channel 1 }
        ]
 }
 

Reply via email to