[alsa-devel] [PATCH 2/2] Make the front:idx device work for ICE1712.

Diego E. 'Flameeyes' Pettenò flameeyes at gmail.com
Tue Jan 20 13:29:05 CET 2009


The default definition of front:idx for ICE1712-based cards didn't work
previously because the route plugin cannot change the number of channels
between the hardware device (with 10 or 12 channels) and the soft-device
(with 2 channels).

Signed-off-by: Diego E. 'Flameeyes' Pettenò <flameeyes at gmail.com>
---
 src/conf/cards/ICE1712.conf |   28 ++++++++++++++++++++++------
 1 files changed, 22 insertions(+), 6 deletions(-)

diff --git a/src/conf/cards/ICE1712.conf b/src/conf/cards/ICE1712.conf
index 5445920..bb93c1d 100644
--- a/src/conf/cards/ICE1712.conf
+++ b/src/conf/cards/ICE1712.conf
@@ -32,12 +32,28 @@ ICE1712.pcm.front.0 {
 	@args.CARD {
 		type string
 	}
-	type route
-	ttable.0.0 1
-	ttable.1.1 1
-	slave.pcm {
-		type hw
-		card $CARD
+	type asym
+	playback.pcm {
+		type route
+		ttable.0.0 1
+		ttable.1.1 1
+		slave.pcm {
+			type hw
+			card $CARD
+		}
+		slave.format S32_LE
+		slave.channels 10
+	}
+	capture.pcm {
+		type route
+		ttable.0.8 1
+		ttable.1.9 1
+		slave.pcm {
+			type hw
+			card $CARD
+		}
+		slave.format S32_LE
+		slave.channels 12
 	}
 }
 
-- 
1.6.1



More information about the Alsa-devel mailing list