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

« back to all changes in this revision

Viewing changes to src/conf/cards/CMI8338-SWIEC.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 CMI8338/8738 chip (w/o multi-channel support)
 
3
# using software IEC958 subframe conversion
 
4
#
 
5
 
 
6
<confdir:pcm/front.conf>
 
7
 
 
8
CMI8338-SWIEC.pcm.front.0 {
 
9
        @args [ CARD ]
 
10
        @args.CARD {
 
11
                type string
 
12
        }
 
13
        type hw
 
14
        card $CARD
 
15
        device 0
 
16
}       
 
17
 
 
18
<confdir:pcm/rear.conf>
 
19
 
 
20
# 2nd DAC
 
21
# FIXME: we need a volume attenuator for rear channel.
 
22
CMI8338-SWIEC.pcm.rear.0 {
 
23
        @args [ CARD ]
 
24
        @args.CARD {
 
25
                type string
 
26
        }
 
27
        type hw
 
28
        card $CARD
 
29
        device 1
 
30
}
 
31
 
 
32
<confdir:pcm/surround40.conf>
 
33
 
 
34
# for the old CM8738 with 2nd DAC for rear
 
35
CMI8338-SWIEC.pcm.surround40.0 {
 
36
        @args [ CARD ]
 
37
        @args.CARD {
 
38
                type string
 
39
        }
 
40
        type multi
 
41
        master 1
 
42
        slaves [
 
43
                {
 
44
                        pcm {
 
45
                                @func concat
 
46
                                strings [
 
47
                                        "cards.CMI8338-SWIEC.pcm.front.0:CARD=" $CARD
 
48
                                ]
 
49
                        }
 
50
                        channels 2
 
51
                }
 
52
                {
 
53
                        pcm {
 
54
                                @func concat
 
55
                                strings [
 
56
                                        "cards.CMI8338-SWIEC.pcm.rear.0:CARD=" $CARD
 
57
                                ]
 
58
                        }
 
59
                        channels 2
 
60
                }
 
61
        ]
 
62
        bindings [
 
63
                { slave 0 channel 0 }
 
64
                { slave 0 channel 1 }
 
65
                { slave 1 channel 0 }
 
66
                { slave 1 channel 1 }
 
67
        ]
 
68
}
 
69
 
 
70
<confdir:pcm/iec958.conf>
 
71
 
 
72
CMI8338-SWIEC.pcm.iec958.0 {
 
73
        @args [ CARD AES0 AES1 AES2 AES3 ]
 
74
        @args.CARD {
 
75
                type string
 
76
        }
 
77
        @args.AES0 {
 
78
                type integer
 
79
        }
 
80
        @args.AES1 {
 
81
                type integer
 
82
        }
 
83
        @args.AES2 {
 
84
                type integer
 
85
        }
 
86
        @args.AES3 {
 
87
                type integer
 
88
        }
 
89
        type asym
 
90
        playback.pcm {
 
91
                type iec958
 
92
                slave.pcm {
 
93
                        type hw
 
94
                        card $CARD
 
95
                        device 2
 
96
                }
 
97
                status [ $AES0 $AES1 $AES2 $AES3 ]
 
98
        }
 
99
        capture.pcm {
 
100
                type hw
 
101
                card $CARD
 
102
                device 2
 
103
        }
 
104
}