summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanu Kaskinen <tanuk@iki.fi>2017-08-04 11:14:43 +0300
committerWim Taymans <wtaymans@redhat.com>2019-09-11 18:03:14 +0200
commit253f7a96c7fb0931c7863acb5d2a1cd249315169 (patch)
tree0a2f16056b009ba9c08a7c22d60287a3d139108c
parentb91c0b9a8154d275ce26a43ecda36a4b478677f1 (diff)
alsa-mixer: set PCM Capture Source for iec958 input
It was reported that on a certain USB card, identified as "0d8c:0102 C-Media Electronics, Inc. CM106 Like Sound Device", the "PCM Capture Source" element had to be set to "IEC958 In" before the iec958 input would work. The iec958-stereo-input.conf file didn't exist before, although the path was referenced in the default.conf profile configuration file. BugLink: https://bugs.freedesktop.org/show_bug.cgi?id=101973
-rw-r--r--src/modules/alsa/mixer/paths/iec958-stereo-input.conf20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/modules/alsa/mixer/paths/iec958-stereo-input.conf b/src/modules/alsa/mixer/paths/iec958-stereo-input.conf
new file mode 100644
index 000000000..babc83980
--- /dev/null
+++ b/src/modules/alsa/mixer/paths/iec958-stereo-input.conf
@@ -0,0 +1,20 @@
+# This file is part of PulseAudio.
+#
+# PulseAudio is free software; you can redistribute it and/or modify
+# it under the terms of the GNU Lesser General Public License as
+# published by the Free Software Foundation; either version 2.1 of the
+# License, or (at your option) any later version.
+#
+# PulseAudio is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public License
+# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
+
+[Element PCM Capture Source]
+enumeration = select
+
+[Option PCM Capture Source:IEC958 In]
+name = iec958-input