]> code.delx.au - pulseaudio/blobdiff - src/modules/alsa/mixer/profile-sets/default.conf
alsa: Add support for sound cards with 4-channel input.
[pulseaudio] / src / modules / alsa / mixer / profile-sets / default.conf
index 5ac322b81546bb4be09eb8c49d290f1d3aa5589c..28c8650d187b44c7e9e39b75bdf0972a21a47442 100644 (file)
@@ -148,6 +148,15 @@ paths-output = analog-output analog-output-speaker analog-output-desktop-speaker
 priority = 7
 direction = output
 
+[Mapping analog-4-channel-input]
+# Alsa doesn't currently provide any better device name than "hw" for 4-channel
+# input. If this causes trouble at some point, then we will need to get a new
+# device name standardized in alsa.
+device-strings = hw:%f
+channel-map = aux0,aux1,aux2,aux3
+priority = 1
+direction = input
+
 [Mapping iec958-stereo]
 device-strings = iec958:%f
 channel-map = left,right