Package: alsa-lib / 1.1.3-5

0007-Add-a-configuration-for-tegra-alc5632-based-cards.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
From 54ca7a7951a4ab5003e6bfb233fb8dfa6da636a0 Mon Sep 17 00:00:00 2001
From: Elimar Riesebieter <riesebie@lxtec.de>
Date: Wed, 11 Jan 2017 16:26:59 +0100
Subject: [PATCH] Add a configuration for tegra-alc5632 based cards.

---
 src/conf/cards/Makefile.am        |  1 +
 src/conf/cards/tegra-alc5632.conf | 23 +++++++++++++++++++++++
 2 files changed, 24 insertions(+)
 create mode 100644 src/conf/cards/tegra-alc5632.conf

diff --git a/src/conf/cards/Makefile.am b/src/conf/cards/Makefile.am
index 008d399f..3706041e 100644
--- a/src/conf/cards/Makefile.am
+++ b/src/conf/cards/Makefile.am
@@ -46,6 +46,7 @@ cfg_files = aliases.conf \
 	RME9652.conf \
 	SI7018.conf \
 	SB-XFi.conf \
+	tegra-alc5632.conf \
 	TRID4DWAVENX.conf \
 	USB-Audio.conf \
 	YMF744.conf \
diff --git a/src/conf/cards/tegra-alc5632.conf b/src/conf/cards/tegra-alc5632.conf
new file mode 100644
index 00000000..86dd104f
--- /dev/null
+++ b/src/conf/cards/tegra-alc5632.conf
@@ -0,0 +1,23 @@
+# default with dmix/dsnoop
+tegra-alc5632.pcm.default {
+       @args [ CARD ]
+       @args.CARD {
+               type string
+       }
+       type asym
+       playback.pcm {
+               type plug
+               slave.pcm {
+                       @func concat
+                       strings [ "dmix:CARD=" $CARD ",RATE=44100" ]
+               }
+       }
+       capture.pcm {
+               type plug
+               slave.pcm {
+                       @func concat
+                       strings [ "dsnoop:CARD=" $CARD ",RATE=44100" ]
+               }
+       }
+}
+
-- 
2.11.0