~ubuntu-branches/ubuntu/quantal/alsa-lib/quantal-proposed

« back to all changes in this revision

Viewing changes to .pc/lp178442-ICE1712.patch/src/conf/cards/ICE1712.conf

  • Committer: Bazaar Package Importer
  • Author(s): David Henningsson
  • Date: 2011-03-28 11:01:55 UTC
  • Revision ID: james.westby@ubuntu.com-20110328110155-phfpq1ogg5mtrgk0
Tags: 1.0.24.1-0ubuntu4
lp178442-ICE1712.patch: Makes pulseaudio succeed in opening
ICE1712 chips such as Maudio 2496 and Delta 1010LT. 
(LP: #178442)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Configuration for the ICE1712 (Envy24) chip
 
3
#
 
4
 
 
5
# default with dmix & dsnoop
 
6
ICE1712.pcm.default {
 
7
        @args [ CARD ]
 
8
        @args.CARD {
 
9
                type string
 
10
        }
 
11
        type asym
 
12
        playback.pcm {
 
13
                type plug
 
14
                slave.pcm {
 
15
                        @func concat
 
16
                        strings [ "dmix:" $CARD ",FORMAT=S32_LE" ]
 
17
                }
 
18
        }
 
19
        capture.pcm {
 
20
                type plug
 
21
                slave.pcm {
 
22
                        @func concat
 
23
                        strings [ "dsnoop:" $CARD ",FORMAT=S32_LE" ]
 
24
                }
 
25
        }
 
26
}
 
27
 
 
28
<confdir:pcm/front.conf>
 
29
 
 
30
ICE1712.pcm.front.0 {
 
31
        @args [ CARD ]
 
32
        @args.CARD {
 
33
                type string
 
34
        }
 
35
        type route
 
36
        ttable.0.0 1
 
37
        ttable.1.1 1
 
38
        slave.pcm {
 
39
                type hw
 
40
                card $CARD
 
41
        }
 
42
}       
 
43
 
 
44
<confdir:pcm/surround40.conf>
 
45
 
 
46
ICE1712.pcm.surround40.0 {
 
47
        @args [ CARD ]
 
48
        @args.CARD {
 
49
                type string
 
50
        }
 
51
        type route
 
52
        ttable.0.0 1
 
53
        ttable.1.1 1
 
54
        ttable.2.2 1
 
55
        ttable.3.3 1
 
56
        slave.pcm {
 
57
                type hw
 
58
                card $CARD
 
59
        }
 
60
}       
 
61
 
 
62
<confdir:pcm/surround41.conf>
 
63
<confdir:pcm/surround50.conf>
 
64
<confdir:pcm/surround51.conf>
 
65
 
 
66
ICE1712.pcm.surround51.0 {
 
67
        @args [ CARD ]
 
68
        @args.CARD {
 
69
                type string
 
70
        }
 
71
        type route
 
72
        ttable.0.0 1
 
73
        ttable.1.1 1
 
74
        ttable.2.2 1
 
75
        ttable.3.3 1
 
76
        ttable.4.4 1
 
77
        ttable.5.5 1
 
78
        slave.pcm {
 
79
                type hw
 
80
                card $CARD
 
81
        }
 
82
}
 
83
 
 
84
<confdir:pcm/iec958.conf>
 
85
 
 
86
ICE1712.pcm.iec958.0 {
 
87
        @args [ CARD AES0 AES1 AES2 AES3 ]
 
88
        @args.CARD {
 
89
                type string
 
90
        }
 
91
        @args.AES0 {
 
92
                type integer
 
93
        }
 
94
        @args.AES1 {
 
95
                type integer
 
96
        }
 
97
        @args.AES2 {
 
98
                type integer
 
99
        }
 
100
        @args.AES3 {
 
101
                type integer
 
102
        }
 
103
        type asym
 
104
        playback.pcm {
 
105
                type hooks
 
106
                slave.pcm {
 
107
                        type route
 
108
                        ttable.0.8 1
 
109
                        ttable.1.9 1
 
110
                        slave.pcm {
 
111
                                type hw
 
112
                                card $CARD
 
113
                        }
 
114
                        slave.format S32_LE
 
115
                        slave.channels 10
 
116
                }
 
117
                hooks.0 {
 
118
                        type ctl_elems
 
119
                        hook_args [
 
120
                                {
 
121
                                        interface PCM
 
122
                                        name "IEC958 Playback PCM Stream"
 
123
                                        lock true
 
124
                                        preserve true
 
125
                                        value [ $AES0 $AES1 $AES2 $AES3 ]
 
126
                                }
 
127
                        ]
 
128
                }
 
129
        }
 
130
        capture.pcm {
 
131
                type route
 
132
                ttable.0.8 1
 
133
                ttable.1.9 1
 
134
                slave.pcm {
 
135
                        type hw
 
136
                        card $CARD
 
137
                }
 
138
                slave.format S32_LE
 
139
                slave.channels 12
 
140
        }
 
141
}