modules/alsa/mixer/paths/analog-output-headphones.conf \
modules/alsa/mixer/paths/analog-output-headphones-2.conf \
modules/alsa/mixer/paths/analog-output-lfe-on-mono.conf \
- modules/alsa/mixer/paths/analog-output-mono.conf
+ modules/alsa/mixer/paths/analog-output-mono.conf \
+ modules/alsa/mixer/paths/iec958-stereo-output.conf \
+ modules/alsa/mixer/paths/iec958-passthrough-output.conf
endif
{ "analog-output-headphones", N_("Analog Headphones") },
{ "analog-output-lfe-on-mono", N_("Analog Output (LFE)") },
{ "analog-output-mono", N_("Analog Mono Output") },
- { "analog-output-speaker", N_("Analog Speakers") }
+ { "analog-output-speaker", N_("Analog Speakers") },
+ { "iec958-stereo-output", N_("Digital Output (IEC958)") },
+ { "iec958-passthrough-output", N_("Digital Passthrough (IEC958)") }
};
pa_alsa_element *e;
{ "analog-surround-70", N_("Analog Surround 7.0") },
{ "analog-surround-71", N_("Analog Surround 7.1") },
{ "iec958-stereo", N_("Digital Stereo (IEC958)") },
- { "iec958-surround-40", N_("Digital Surround 4.0 (IEC958)") },
+ { "iec958-passthrough", N_("Digital Passthrough (IEC958)") },
{ "iec958-ac3-surround-40", N_("Digital Surround 4.0 (IEC958/AC3)") },
{ "iec958-ac3-surround-51", N_("Digital Surround 5.1 (IEC958/AC3)") },
{ "hdmi-stereo", N_("Digital Stereo (HDMI)") }
static const struct description_map well_known_descriptions[] = {
{ "output:analog-mono+input:analog-mono", N_("Analog Mono Duplex") },
{ "output:analog-stereo+input:analog-stereo", N_("Analog Stereo Duplex") },
- { "output:iec958-stereo", N_("Digital Stereo Duplex (IEC958)") },
+ { "output:iec958-stereo+input:iec958-stereo", N_("Digital Stereo Duplex (IEC958)") },
{ "off", N_("Off") }
};
[Mapping iec958-stereo]
device-strings = iec958:%f
channel-map = left,right
+paths-input = iec958-stereo-input
+paths-output = iec958-stereo-output
priority = 5
-[Mapping iec958-surround-40]
+[Mapping iec958-passthrough]
device-strings = iec958:%f
-channel-map = front-left,front-right,rear-left,rear-right
-priority = 1
+channel-map = left,right
+direction = output
+paths-output = iec958-passthrough-output
+priority = 5
[Mapping iec958-ac3-surround-40]
device-strings = a52:%f