Fix input device for M-audio fasttrack pro

Some M-audio fasttrack pro devices, the input device is at index 1 instead of index 0.
According to
http://mailman.alsa-project.org/pipermail/alsa-devel/2012-March/050701.html
the reason for this is probably that the device has mutually exclusive
analog and digital input. With this patch we can catch the input regardless
of state.

BugLink: https://bugs.launchpad.net/bugs/569932
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
This commit is contained in:
David Henningsson 2012-03-19 11:54:12 +01:00
parent 8499afc36f
commit 6e449eca9a

View file

@ -33,9 +33,11 @@ device-strings = hw:%f,0,0
channel-map = left,right channel-map = left,right
direction = output direction = output
; Try both device 0 and device 1 for input, see
; http://mailman.alsa-project.org/pipermail/alsa-devel/2012-March/050701.html
[Mapping analog-stereo-a-input] [Mapping analog-stereo-a-input]
description = Analog Stereo Channel A description = Analog Stereo Channel A
device-strings = hw:%f,0,0 device-strings = hw:%f,0,0 hw:%f,1,0
channel-map = left,right channel-map = left,right
direction = input direction = input