6362d32
From ec325304cdca5e2a46f5a84f93c8b614a204d87f Mon Sep 17 00:00:00 2001
6362d32
From: Tanu Kaskinen <tanuk@iki.fi>
6362d32
Date: Fri, 4 Aug 2017 11:14:43 +0300
6362d32
Subject: [PATCH 09/48] alsa-mixer: set PCM Capture Source for iec958 input
6362d32
6362d32
It was reported that on a certain USB card, identified as
6362d32
"0d8c:0102 C-Media Electronics, Inc. CM106 Like Sound Device",
6362d32
the "PCM Capture Source" element had to be set to "IEC958 In" before
6362d32
the iec958 input would work.
6362d32
6362d32
The iec958-stereo-input.conf file didn't exist before, although the path
6362d32
was referenced in the default.conf profile configuration file.
6362d32
6362d32
BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=101973
6362d32
---
6362d32
 .../alsa/mixer/paths/iec958-stereo-input.conf        | 20 ++++++++++++++++++++
6362d32
 1 file changed, 20 insertions(+)
6362d32
 create mode 100644 src/modules/alsa/mixer/paths/iec958-stereo-input.conf
6362d32
6362d32
diff --git a/src/modules/alsa/mixer/paths/iec958-stereo-input.conf b/src/modules/alsa/mixer/paths/iec958-stereo-input.conf
6362d32
new file mode 100644
6362d32
index 00000000..babc8398
6362d32
--- /dev/null
6362d32
+++ b/src/modules/alsa/mixer/paths/iec958-stereo-input.conf
6362d32
@@ -0,0 +1,20 @@
6362d32
+# This file is part of PulseAudio.
6362d32
+#
6362d32
+# PulseAudio is free software; you can redistribute it and/or modify
6362d32
+# it under the terms of the GNU Lesser General Public License as
6362d32
+# published by the Free Software Foundation; either version 2.1 of the
6362d32
+# License, or (at your option) any later version.
6362d32
+#
6362d32
+# PulseAudio is distributed in the hope that it will be useful, but
6362d32
+# WITHOUT ANY WARRANTY; without even the implied warranty of
6362d32
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
6362d32
+# General Public License for more details.
6362d32
+#
6362d32
+# You should have received a copy of the GNU Lesser General Public License
6362d32
+# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
6362d32
+
6362d32
+[Element PCM Capture Source]
6362d32
+enumeration = select
6362d32
+
6362d32
+[Option PCM Capture Source:IEC958 In]
6362d32
+name = iec958-input
6362d32
-- 
6362d32
2.13.6
6362d32