Blame SOURCES/0009-alsa-mixer-set-PCM-Capture-Source-for-iec958-input.patch

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