Fix input device for M-audio fasttrack pro
[profile/ivi/pulseaudio-panda.git] / src / modules / alsa / mixer / profile-sets / maudio-fasttrack-pro.conf
1 # This file is part of PulseAudio.
2 #
3 # PulseAudio is free software; you can redistribute it and/or modify
4 # it under the terms of the GNU Lesser General Public License as
5 # published by the Free Software Foundation; either version 2.1 of the
6 # License, or (at your option) any later version.
7 #
8 # PulseAudio is distributed in the hope that it will be useful, but
9 # WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 # General Public License for more details.
12 #
13 # You should have received a copy of the GNU Lesser General Public License
14 # along with PulseAudio; if not, write to the Free Software Foundation,
15 # Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
16
17 ; M-Audio FastTrack Pro
18 ;
19 ; This card has one duplex stereo channel called A and an additional
20 ; stereo output channel called B.
21 ;
22 ; We knowingly only define a subset of the theoretically possible
23 ; mapping combinations as profiles here.
24 ;
25 ; See default.conf for an explanation on the directives used here.
26
27 [General]
28 auto-profiles = no
29
30 [Mapping analog-stereo-a-output]
31 description = Analog Stereo Channel A
32 device-strings = hw:%f,0,0
33 channel-map = left,right
34 direction = output
35
36 ; Try both device 0 and device 1 for input, see
37 ; http://mailman.alsa-project.org/pipermail/alsa-devel/2012-March/050701.html
38 [Mapping analog-stereo-a-input]
39 description = Analog Stereo Channel A
40 device-strings = hw:%f,0,0 hw:%f,1,0
41 channel-map = left,right
42 direction = input
43
44 [Mapping analog-stereo-b-output]
45 description = Analog Stereo Channel B
46 device-strings = hw:%f,1,0
47 channel-map = left,right
48 direction = output
49
50 [Profile output:analog-stereo-all+input:analog-stereo-all]
51 description = Analog Stereo Duplex Channel A, Analog Stereo output Channel B
52 output-mappings = analog-stereo-a-output  analog-stereo-b-output
53 input-mappings = analog-stereo-a-input
54 priority = 100
55 skip-probe = yes
56
57 [Profile output:analog-stereo-a-output+input:analog-stereo-a-input]
58 description = Analog Stereo Duplex Channel A
59 output-mappings = analog-stereo-a-output
60 input-mappings = analog-stereo-a-input
61 priority = 40
62 skip-probe = yes
63
64 [Profile output:analog-stereo-b+input:analog-stereo-b]
65 description = Analog Stereo Output Channel B
66 output-mappings = analog-stereo-b-output
67 input-mappings =
68 priority = 50
69 skip-probe = yes
70
71 [Profile output:analog-stereo-a]
72 description = Analog Stereo Output Channel A
73 output-mappings = analog-stereo-a-output
74 priority = 5
75 skip-probe = yes
76
77 [Profile output:analog-stereo-b]
78 description = Analog Stereo Output Channel B
79 output-mappings = analog-stereo-b-output
80 priority = 6
81 skip-probe = yes
82
83 [Profile input:analog-stereo-a]
84 description = Analog Stereo Input Channel A
85 input-mappings = analog-stereo-a-input
86 priority = 2
87 skip-probe = yes