Skip to contentSkip to conversation

use dmix/dsnoop for default PCM on ca0106

PATCH Applied Lee Revell 2 participants 3 messages Sep 17, 2005 – Sep 29, 2005

lore
Share & tools
lore

Lee Revell

author
#0 lore raw

PATCH 1/1 use dmix/dsnoop for default PCM on ca0106

This chipset lacks hardware mixing so needs to use dmix/dsnoop by default.

Index: alsa/alsa-lib/src/conf/cards/CA0106.conf
===================================================================
RCS file: /cvsroot/alsa/alsa-lib/src/conf/cards/CA0106.conf,v retrieving revision 1.4

alsa-lib/src/conf/cards/CA0106.conf +23 -0
diff -u -r1.4 CA0106.conf
@@ -2,6 +2,29 @@
 # Configuration for the CA0106 chip
 #
 
+# default with dmix & dsnoop
+CA0106.pcm.default {
+	@args [ CARD ]
+	@args.CARD {
+		type string
+	}
+	type asym
+	playback.pcm {
+		type plug
+		slave.pcm {
+			@func concat
+			strings [ "dmix:" $CARD ]
+		}
+	}
+	capture.pcm {
+		type plug
+		slave.pcm {
+			@func concat
+			strings [ "dsnoop:" $CARD ]
+		}
+	}
+}
+
 <confdir:pcm/front.conf>
 
 CA0106.pcm.front.0 {

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php

author
#1 lore raw
Quoted 2 lines · Lee Revell

This chipset lacks hardware mixing so needs to use dmix/dsnoop by default.

Any comments on this?

Lee

-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php

Applied
#2 lore raw
In reply to Lee Revell

At Sat, 17 Sep 2005 15:03:11 -0400,

Quoted 5 lines · Lee Revell

This chipset lacks hardware mixing so needs to use dmix/dsnoop by default.

I applied to CVS now. Thanks.

Takashi

-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl