]> git.alsa-project.org Git - alsa-lib.git/commitdiff
Add PMac Toonie configuration
authorTakashi Iwai <tiwai@suse.de>
Thu, 14 Apr 2005 14:30:02 +0000 (14:30 +0000)
committerTakashi Iwai <tiwai@suse.de>
Thu, 14 Apr 2005 14:30:02 +0000 (14:30 +0000)
Added PMac Toonie configuration.  Using softvol for default.

src/conf/cards/Makefile.am
src/conf/cards/PMacToonie.conf [new file with mode: 0644]
src/conf/cards/aliases.conf

index 2e16a29977d6f14a83a174522dffbf8868eff4ba..4c1b79f12d3c633d65013b2e69eb4d4f8e472105 100644 (file)
@@ -32,6 +32,7 @@ cfg_files = aliases.conf \
        Maestro3.conf \
        NFORCE.conf \
        PC-Speaker.conf \
+       PMacToonie.conf \
        RME9636.conf \
        RME9652.conf \
        SI7018.conf \
diff --git a/src/conf/cards/PMacToonie.conf b/src/conf/cards/PMacToonie.conf
new file mode 100644 (file)
index 0000000..44db11c
--- /dev/null
@@ -0,0 +1,56 @@
+#
+# Configuration for PMac Toonie
+#
+
+<confdir:pcm/front.conf>
+
+PMacToonie.pcm.front.0 {
+       @args [ CARD ]
+       @args.CARD {
+               type string
+       }
+       type softvol
+       slave.pcm {
+               type hw
+               card $CARD
+               device 0
+       }
+       control {
+               name "PCM Playback Volume"
+               card $CARD
+       }
+}      
+
+# once when dmix is confirmed to work on ppc, we should enable dmix/dsnoop
+# for default, too
+
+PMacToonie.pcm.default {
+       @args [ CARD ]
+       @args.CARD {
+               type string
+       }
+       type asym
+       playback.pcm {
+               type plug
+               slave.pcm {
+                       type softvol
+                       slave.pcm {
+                               type hw
+                               card $CARD
+                               device 0
+                       }
+                       control {
+                               name "PCM Playback Volume"
+                               card $CARD
+                       }
+               }
+       }
+       capture.pcm {
+               type plug
+               slave.pcm {
+                       type hw
+                       card $CARD
+                       device 0
+               }
+       }
+}
index 915fd5200a30973e80dd21a491d120d991f3f5c8..d6175999fc3ef069e3eee9b48561831031a69dee 100644 (file)
@@ -36,6 +36,7 @@ VIA82XX-MODEM cards.ICH-MODEM
 'PMac Snapper' cards.PMac
 'PMac Screamer' cards.PMac
 'PMac AWACS' cards.PMac
+'PMac Toonie' cards.PMacToonie
 'USB US-X2Y' cards.US-X2Y
 'Serial MIDI' cards.SerialMIDI
 'Prodif Plus' cards.ProdifPlus