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, see <http://www.gnu.org/licenses/>.
15
16; M-Audio FastTrack Pro
17;
18; This card has one duplex stereo channel called A and an additional
19; stereo output channel called B.
20;
21; We knowingly only define a subset of the theoretically possible
22; mapping combinations as profiles here.
23;
24; See default.conf for an explanation on the directives used here.
25
26[General]
27auto-profiles = no
28
29[Mapping analog-stereo-a-output]
30description = Analog Stereo Channel A
31device-strings = hw:%f,0,0
32channel-map = left,right
33direction = output
34
35; Try both device 0 and device 1 for input, see
36; http://mailman.alsa-project.org/pipermail/alsa-devel/2012-March/050701.html
37[Mapping analog-stereo-a-input]
38description = Analog Stereo Channel A
39device-strings = hw:%f,0,0 hw:%f,1,0
40channel-map = left,right
41direction = input
42
43[Mapping analog-stereo-b-output]
44description = Analog Stereo Channel B
45device-strings = hw:%f,1,0
46channel-map = left,right
47direction = output
48
49[Profile output:analog-stereo-all+input:analog-stereo-all]
50description = Analog Stereo Duplex Channel A, Analog Stereo output Channel B
51output-mappings = analog-stereo-a-output  analog-stereo-b-output
52input-mappings = analog-stereo-a-input
53priority = 100
54skip-probe = yes
55
56[Profile output:analog-stereo-a-output+input:analog-stereo-a-input]
57description = Analog Stereo Duplex Channel A
58output-mappings = analog-stereo-a-output
59input-mappings = analog-stereo-a-input
60priority = 40
61skip-probe = yes
62
63[Profile output:analog-stereo-b+input:analog-stereo-b]
64description = Analog Stereo Output Channel B
65output-mappings = analog-stereo-b-output
66input-mappings =
67priority = 50
68skip-probe = yes
69
70[Profile output:analog-stereo-a]
71description = Analog Stereo Output Channel A
72output-mappings = analog-stereo-a-output
73priority = 5
74skip-probe = yes
75
76[Profile output:analog-stereo-b]
77description = Analog Stereo Output Channel B
78output-mappings = analog-stereo-b-output
79priority = 6
80skip-probe = yes
81
82[Profile input:analog-stereo-a]
83description = Analog Stereo Input Channel A
84input-mappings = analog-stereo-a-input
85priority = 2
86skip-probe = yes
87