~ubuntu-branches/ubuntu/warty/alsa-lib/warty

« back to all changes in this revision

Viewing changes to src/conf/cards/ENS1370.conf

  • Committer: Bazaar Package Importer
  • Author(s): LaMont Jones
  • Date: 2004-09-23 19:38:45 UTC
  • Revision ID: james.westby@ubuntu.com-20040923193845-71lrqesgxij0yzn7
Tags: upstream-1.0.5
ImportĀ upstreamĀ versionĀ 1.0.5

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
2
# Configuration for the ENS1370 chip
 
3
#
 
4
 
 
5
<confdir:pcm/front.conf>
 
6
 
 
7
ENS1370.pcm.front.0 {
 
8
        @args [ CARD ]
 
9
        @args.CARD {
 
10
                type string
 
11
        }
 
12
        type hw
 
13
        card $CARD
 
14
        device 1
 
15
}       
 
16
 
 
17
<confdir:pcm/rear.conf>
 
18
 
 
19
ENS1370.pcm.rear.0 {
 
20
        @args [ CARD ]
 
21
        @args.CARD {
 
22
                type string
 
23
        }
 
24
        type hooks
 
25
        slave.pcm {
 
26
                type hw
 
27
                card $CARD
 
28
                device 0
 
29
        }
 
30
        hooks.0 {
 
31
                type ctl_elems
 
32
                hook_args [
 
33
                        {
 
34
                                name "PCM 0 Output also on Line-In Jack"
 
35
                                preserve true
 
36
                                lock true
 
37
                                value true
 
38
                        }
 
39
                        {
 
40
                                name "PCM Switch"
 
41
                                preserve true
 
42
                                lock true
 
43
                                value [ false false ]
 
44
                        }
 
45
                ]
 
46
        }
 
47
}       
 
48
 
 
49
<confdir:pcm/surround40.conf>
 
50
 
 
51
ENS1370.pcm.surround40.0 {
 
52
        @args [ CARD ]
 
53
        @args.CARD {
 
54
                type string
 
55
        }
 
56
        type multi
 
57
        master 1
 
58
        slaves [
 
59
                {
 
60
                        pcm {
 
61
                                @func concat
 
62
                                strings [
 
63
                                        "cards.ENS1370.pcm.front.0:CARD=" $CARD
 
64
                                ]
 
65
                        }
 
66
                        channels 2
 
67
                }
 
68
                {
 
69
                        pcm {
 
70
                                @func concat
 
71
                                strings [
 
72
                                        "cards.ENS1370.pcm.rear.0:CARD=" $CARD
 
73
                                ]
 
74
                        }
 
75
                        channels 2
 
76
                }
 
77
        ]
 
78
        bindings [
 
79
                { slave 0 channel 0 }
 
80
                { slave 0 channel 1 }
 
81
                { slave 1 channel 0 }
 
82
                { slave 1 channel 1 }
 
83
        ]
 
84
}