[alsa-devel] [PATCH] ICE1712: add surround71 pcm definition

Alexander E. Patrakov patrakov at gmail.com
Mon Jun 30 20:40:48 CEST 2014


The M-Audio Delta 1010 card has 7.1 analog output, but no ready-made pcm
definition to use it.

Signed-off-by: Alexander E. Patrakov <patrakov at gmail.com>
Reported-and-tested-by: Matt Zagrabelny <mzagrabe at d.umn.edu>
---
 src/conf/cards/ICE1712.conf | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/src/conf/cards/ICE1712.conf b/src/conf/cards/ICE1712.conf
index 398fa7a..db62684 100644
--- a/src/conf/cards/ICE1712.conf
+++ b/src/conf/cards/ICE1712.conf
@@ -78,6 +78,7 @@ ICE1712.pcm.surround40.0 {
 <confdir:pcm/surround41.conf>
 <confdir:pcm/surround50.conf>
 <confdir:pcm/surround51.conf>
+<confdir:pcm/surround71.conf>
 
 ICE1712.pcm.surround51.0 {
 	@args [ CARD ]
@@ -98,6 +99,27 @@ ICE1712.pcm.surround51.0 {
 	slave.channels 10
 }
 
+ICE1712.pcm.surround71.0 {
+	@args [ CARD ]
+	@args.CARD {
+		type string
+	}
+	type route
+	ttable.0.0 1
+	ttable.1.1 1
+	ttable.2.2 1
+	ttable.3.3 1
+	ttable.4.4 1
+	ttable.5.5 1
+	ttable.6.6 1
+	ttable.7.7 1
+	slave.pcm {
+		type hw
+		card $CARD
+	}
+	slave.channels 10
+}
+
 <confdir:pcm/iec958.conf>
 
 ICE1712.pcm.iec958.0 {
-- 
2.0.0



More information about the Alsa-devel mailing list