@@ -100,6 +100,8 @@ defaults.pcm.surround50.card defaults.pcm.card
defaults.pcm.surround50.device defaults.pcm.device
defaults.pcm.surround51.card defaults.pcm.card
defaults.pcm.surround51.device defaults.pcm.device
+defaults.pcm.surround70.card defaults.pcm.card
+defaults.pcm.surround70.device defaults.pcm.device
defaults.pcm.surround71.card defaults.pcm.card
defaults.pcm.surround71.device defaults.pcm.device
defaults.pcm.iec958.card defaults.pcm.card
@@ -138,6 +140,7 @@ pcm.surround40 cards.pcm.surround40
pcm.surround41 cards.pcm.surround41
pcm.surround50 cards.pcm.surround50
pcm.surround51 cards.pcm.surround51
+pcm.surround70 cards.pcm.surround70
pcm.surround71 cards.pcm.surround71
pcm.iec958 cards.pcm.iec958
pcm.spdif iec958
@@ -199,6 +199,7 @@ Audigy2.pcm.side.0 {
<confdir:pcm/surround40.conf>
<confdir:pcm/surround41.conf>
<confdir:pcm/surround50.conf>
+<confdir:pcm/surround70.conf>
Audigy2.pcm.surround40.0 {
@args [ CARD ]
@@ -101,6 +101,7 @@ Aureon71.pcm.surround51.0 {
channels 6
}
+<confdir:pcm/surround70.conf>
<confdir:pcm/surround71.conf>
Aureon71.pcm.surround71.0 {
@@ -112,6 +112,7 @@ CA0106.pcm.surround40.0 {
<confdir:pcm/surround41.conf>
<confdir:pcm/surround50.conf>
<confdir:pcm/surround51.conf>
+<confdir:pcm/surround70.conf>
<confdir:pcm/surround71.conf>
CA0106.pcm.surround51.0 {
@@ -142,6 +142,7 @@ CMI8738-MC8.pcm.surround51.0 {
}
}
+<confdir:pcm/surround70.conf>
<confdir:pcm/surround71.conf>
CMI8738-MC8.pcm.surround71.0 {
@@ -63,6 +63,7 @@ CMI8788.pcm.surround51.0 {
channels 6
}
+<confdir:pcm/surround70.conf>
<confdir:pcm/surround71.conf>
CMI8788.pcm.surround71.0 {
@@ -221,6 +221,62 @@ Echo_Echo3G.pcm.surround51.0 {
]
}
+<confdir:pcm/surround70.conf>
+Echo_Echo3G.pcm.surround70.0 {
+ @args [ CARD ]
+ @args.CARD {
+ type string
+ }
+ type multi
+ slaves [
+ {
+ pcm {
+ @func concat
+ strings [
+ "cards.Echo_Echo3G.pcm.front.0:CARD=" $CARD
+ ]
+ }
+ channels 2
+ }
+ {
+ pcm {
+ @func concat
+ strings [
+ "cards.Echo_Echo3G.pcm.rear.0:CARD=" $CARD
+ ]
+ }
+ channels 2
+ }
+ {
+ pcm {
+ @func concat
+ strings [
+ "cards.Echo_Echo3G.pcm.center_lfe.0:CARD=" $CARD
+ ]
+ }
+ channels 2
+ }
+ {
+ pcm {
+ @func concat
+ strings [
+ "cards.Echo_Echo3G.pcm.side.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 1 }
+ { slave 3 channel 0 }
+ { slave 3 channel 1 }
+ ]
+}
+
<confdir:pcm/surround71.conf>
Echo_Echo3G.pcm.surround71.0 {
@args [ CARD ]
@@ -76,6 +76,7 @@ HDA-Intel.pcm.default {
<confdir:pcm/surround41.conf>
<confdir:pcm/surround50.conf>
<confdir:pcm/surround51.conf>
+<confdir:pcm/surround70.conf>
<confdir:pcm/surround71.conf>
HDA-Intel.pcm.surround40.0 cards.HDA-Intel.pcm.front.0
@@ -78,6 +78,7 @@ ICE1712.pcm.surround40.0 {
<confdir:pcm/surround41.conf>
<confdir:pcm/surround50.conf>
<confdir:pcm/surround51.conf>
+<confdir:pcm/surround70.conf>
<confdir:pcm/surround71.conf>
ICE1712.pcm.surround51.0 {
@@ -121,6 +121,7 @@ ICE1724.pcm.surround51.0 {
}
}
+<confdir:pcm/surround70.conf>
<confdir:pcm/surround71.conf>
ICE1724.pcm.surround71.0 {
@@ -68,6 +68,7 @@ Loopback.pcm.default {
<confdir:pcm/surround41.conf>
<confdir:pcm/surround50.conf>
<confdir:pcm/surround51.conf>
+<confdir:pcm/surround70.conf>
<confdir:pcm/surround71.conf>
Loopback.pcm.surround40.0 cards.Loopback.pcm.front.0
@@ -172,6 +172,7 @@ NFORCE.pcm.surround51.0 {
}
}
+<confdir:pcm/surround70.conf>
<confdir:pcm/surround71.conf>
NFORCE.pcm.surround71.0 {
@@ -58,6 +58,7 @@ SB-XFi.pcm.side.0 {
<confdir:pcm/surround41.conf>
<confdir:pcm/surround50.conf>
<confdir:pcm/surround51.conf>
+<confdir:pcm/surround70.conf>
<confdir:pcm/surround71.conf>
SB-XFi.pcm.surround40.0 cards.SB-XFi.pcm.front.0
@@ -364,6 +364,7 @@ USB-Audio.pcm.surround51.0 {
}
}
+<confdir:pcm/surround70.conf>
<confdir:pcm/surround71.conf>
USB-Audio.pcm.surround71.0 {
@@ -1,6 +1,6 @@
cfg_files = default.conf front.conf rear.conf center_lfe.conf side.conf\
surround21.conf surround40.conf surround41.conf \
- surround50.conf surround51.conf \
+ surround50.conf surround51.conf surround70.conf \
surround71.conf iec958.conf hdmi.conf modem.conf \
dmix.conf dsnoop.conf \
dpl.conf
new file mode 100644
@@ -0,0 +1,69 @@
+#
+# Hardware output from 7.0 speakers.
+# Samples must be positioned:
+# chn0 - front left
+# chn1 - front right
+# chn2 - rear left
+# chn3 - rear right
+# chn4 - center
+# chn5 - side left
+# chn6 - side right
+#
+
+pcm.!surround70 {
+ @args [ CARD DEV ]
+ @args.CARD {
+ type string
+ default {
+ @func getenv
+ vars [
+ ALSA_SURROUND70_CARD
+ ALSA_PCM_CARD
+ ALSA_CARD
+ ]
+ default {
+ @func refer
+ name defaults.pcm.surround70.card
+ }
+ }
+ }
+ @args.DEV {
+ type integer
+ default {
+ @func igetenv
+ vars [
+ ALSA_SURROUND70_DEVICE
+ ]
+ default {
+ @func refer
+ name defaults.pcm.surround70.device
+ }
+ }
+ }
+ type route
+ slave.pcm {
+ @func refer
+ name {
+ @func concat
+ strings [
+ "cards."
+ {
+ @func card_driver
+ card $CARD
+ }
+ ".pcm.surround71." $DEV ":CARD=" $CARD
+ ]
+ }
+ }
+ ttable.0.FL 1
+ ttable.1.FR 1
+ ttable.2.RL 1
+ ttable.3.RR 1
+ ttable.4.FC 1
+ ttable.5.SL 1
+ ttable.6.SR 1
+ hint {
+ description "7.0 Surround output to Front, Center, Side and Rear speakers"
+ device $DEV
+ }
+}