All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Diego E. 'Flameeyes' Pettenò" <flameeyes@gmail.com>
To: alsa-devel@alsa-project.org
Cc: "Diego E. 'Flameeyes' Pettenò" <flameeyes@gmail.com>
Subject: [PATCH 2/2] Make the front:idx device work for ICE1712.
Date: Tue, 20 Jan 2009 13:37:55 +0100	[thread overview]
Message-ID: <1232455075-27712-3-git-send-email-flameeyes@gmail.com> (raw)
In-Reply-To: <1232455075-27712-2-git-send-email-flameeyes@gmail.com>

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@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

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

  reply	other threads:[~2009-01-20 12:36 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-20 12:37 ICE1712 softdevices fixes Diego E. 'Flameeyes' Pettenò
2009-01-20 12:37 ` [PATCH 1/2] Remove definition for surround sound devices on ICE1712 Diego E. 'Flameeyes' Pettenò
2009-01-20 12:37   ` Diego E. 'Flameeyes' Pettenò [this message]
2009-01-20 12:48   ` Jaroslav Kysela
2009-01-20 12:54     ` Diego E. 'Flameeyes' Pettenò
2009-01-20 13:38       ` Jaroslav Kysela
2009-01-20 13:49         ` Diego E. 'Flameeyes' Pettenò
2009-01-20 15:26           ` Alan Horstmann
2009-01-20 16:19             ` Jaroslav Kysela
2009-01-20 16:33               ` Diego E. 'Flameeyes' Pettenò
2009-01-21 10:00                 ` Takashi Iwai
2009-01-21 16:45                   ` Alan Horstmann
2009-01-21 16:33                     ` Takashi Iwai
2009-01-26 17:43                       ` Alan Horstmann
     [not found]           ` <20090121141610.GC2839@localhost>
2009-01-21 22:24             ` John Rigg
  -- strict thread matches above, loose matches on Subject: below --
2009-01-20 12:29 ICE1712 softdevices fixes Diego E. 'Flameeyes' Pettenò
2009-01-20 12:29 ` [PATCH 1/2] Remove definition for surround sound devices on ICE1712 Diego E. 'Flameeyes' Pettenò
2009-01-20 12:29   ` [PATCH 2/2] Make the front:idx device work for ICE1712 Diego E. 'Flameeyes' Pettenò

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1232455075-27712-3-git-send-email-flameeyes@gmail.com \
    --to=flameeyes@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.