Add channel paths to analog-surround-*

Motu M4 has four inputs (two line-in inputs, and two complete ones
with gain and XLR and whatnot), as well as four outputs (two monitor
pairs, and an unnaccounted headphone).

Sadly, like a few other interfaces, it wasn't being given an input
profile, since the matching code goes through default.conf testing
each config, and ends up selecting 'analog-surround-40', which does
not have input mapping. The inputs would fallback to 'multichannel-
input', which also doesn't have input paths.

Add input paths to all analog-surround-* mappings, and remove their
'direction=output' fields since they handle both out and in.
This commit is contained in:
Georges Basile Stavracas Neto 2021-05-21 09:52:53 -03:00
parent 1e9442e6b8
commit f1cc525d7e

View file

@ -137,45 +137,45 @@ priority = 1
[Mapping analog-surround-21] [Mapping analog-surround-21]
device-strings = surround21:%f device-strings = surround21:%f
channel-map = front-left,front-right,lfe channel-map = front-left,front-right,lfe
paths-input = analog-input analog-input-linein analog-input-mic
paths-output = analog-output analog-output-lineout analog-output-speaker paths-output = analog-output analog-output-lineout analog-output-speaker
priority = 13 priority = 13
direction = output
[Mapping analog-surround-40] [Mapping analog-surround-40]
device-strings = surround40:%f device-strings = surround40:%f
channel-map = front-left,front-right,rear-left,rear-right channel-map = front-left,front-right,rear-left,rear-right
paths-input = analog-input analog-input-linein analog-input-mic
paths-output = analog-output analog-output-lineout analog-output-speaker paths-output = analog-output analog-output-lineout analog-output-speaker
priority = 12 priority = 12
direction = output
[Mapping analog-surround-41] [Mapping analog-surround-41]
device-strings = surround41:%f device-strings = surround41:%f
channel-map = front-left,front-right,rear-left,rear-right,lfe channel-map = front-left,front-right,rear-left,rear-right,lfe
paths-input = analog-input analog-input-linein analog-input-mic
paths-output = analog-output analog-output-lineout analog-output-speaker paths-output = analog-output analog-output-lineout analog-output-speaker
priority = 13 priority = 13
direction = output
[Mapping analog-surround-50] [Mapping analog-surround-50]
device-strings = surround50:%f device-strings = surround50:%f
channel-map = front-left,front-right,rear-left,rear-right,front-center channel-map = front-left,front-right,rear-left,rear-right,front-center
paths-input = analog-input analog-input-linein analog-input-mic
paths-output = analog-output analog-output-lineout analog-output-speaker paths-output = analog-output analog-output-lineout analog-output-speaker
priority = 12 priority = 12
direction = output
[Mapping analog-surround-51] [Mapping analog-surround-51]
device-strings = surround51:%f device-strings = surround51:%f
channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
paths-input = analog-input analog-input-linein analog-input-mic
paths-output = analog-output analog-output-lineout analog-output-speaker paths-output = analog-output analog-output-lineout analog-output-speaker
priority = 13 priority = 13
direction = output
[Mapping analog-surround-71] [Mapping analog-surround-71]
device-strings = surround71:%f device-strings = surround71:%f
channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe,side-left,side-right
description = Analog Surround 7.1 description = Analog Surround 7.1
paths-input = analog-input analog-input-linein analog-input-mic
paths-output = analog-output analog-output-lineout analog-output-speaker paths-output = analog-output analog-output-lineout analog-output-speaker
priority = 12 priority = 12
direction = output
[Mapping iec958-stereo] [Mapping iec958-stereo]
device-strings = iec958:%f device-strings = iec958:%f