device/viewsonic/viewpad10
Revision | 80c54613bed1e18a86d90c68ceea5b4e8352b7c8 (tree) |
---|---|
Time | 2010-12-30 00:59:18 |
Author | Funky Android Ltd <support@funk...> |
Commiter | Funky Android Ltd |
Updated to use asound.conf for ALSA configuration
@@ -2,22 +2,34 @@ | ||
2 | 2 | ## Mixer Devices |
3 | 3 | ## |
4 | 4 | |
5 | -pcm.AndroidOut { | |
6 | - type hw | |
7 | - card 0 | |
5 | +ctl.AndroidPlayback { | |
6 | + type hw | |
7 | + card 1 | |
8 | + device 0 | |
8 | 9 | } |
9 | 10 | |
10 | -ctl.AndroidOut { | |
11 | - type hw | |
12 | - card 0 | |
11 | +ctl.AndroidCapture { | |
12 | + type hw | |
13 | + card 1 | |
14 | + device 0 | |
13 | 15 | } |
14 | 16 | |
15 | -pcm.AndroidIn { | |
16 | - type hw | |
17 | - card 0 | |
17 | +## | |
18 | +## Playback Devices | |
19 | +## | |
20 | + | |
21 | +pcm.AndroidPlayback { | |
22 | + type hw | |
23 | + card 1 | |
24 | + device 0 | |
18 | 25 | } |
19 | 26 | |
20 | -ctl.AndroidIn { | |
21 | - type hw | |
22 | - card 0 | |
27 | +## | |
28 | +## Recording device | |
29 | +## | |
30 | + | |
31 | +pcm.AndroidCapture { | |
32 | + type hw | |
33 | + card 1 | |
34 | + device 0 | |
23 | 35 | } |
@@ -1,145 +0,0 @@ | ||
1 | -state.Intel { | |
2 | - control.1 { | |
3 | - comment.access 'read write' | |
4 | - comment.type INTEGER | |
5 | - comment.count 2 | |
6 | - comment.range '0 - 64' | |
7 | - comment.dbmin -6400 | |
8 | - comment.dbmax 0 | |
9 | - iface MIXER | |
10 | - name 'Speaker Playback Volume' | |
11 | - value.0 64 | |
12 | - value.1 64 | |
13 | - } | |
14 | - control.2 { | |
15 | - comment.access 'read write' | |
16 | - comment.type BOOLEAN | |
17 | - comment.count 2 | |
18 | - iface MIXER | |
19 | - name 'Speaker Playback Switch' | |
20 | - value.0 true | |
21 | - value.1 true | |
22 | - } | |
23 | - control.3 { | |
24 | - comment.access 'read write' | |
25 | - comment.type INTEGER | |
26 | - comment.count 2 | |
27 | - comment.range '0 - 64' | |
28 | - comment.dbmin -6400 | |
29 | - comment.dbmax 0 | |
30 | - iface MIXER | |
31 | - name 'Headphone Playback Volume' | |
32 | - value.0 64 | |
33 | - value.1 64 | |
34 | - } | |
35 | - control.4 { | |
36 | - comment.access 'read write' | |
37 | - comment.type BOOLEAN | |
38 | - comment.count 2 | |
39 | - iface MIXER | |
40 | - name 'Headphone Playback Switch' | |
41 | - value.0 true | |
42 | - value.1 true | |
43 | - } | |
44 | - control.5 { | |
45 | - comment.access 'read write' | |
46 | - comment.type INTEGER | |
47 | - comment.count 2 | |
48 | - comment.range '0 - 31' | |
49 | - comment.dbmin -3450 | |
50 | - comment.dbmax 1200 | |
51 | - iface MIXER | |
52 | - name 'Mic Playback Volume' | |
53 | - value.0 0 | |
54 | - value.1 0 | |
55 | - } | |
56 | - control.6 { | |
57 | - comment.access 'read write' | |
58 | - comment.type BOOLEAN | |
59 | - comment.count 2 | |
60 | - iface MIXER | |
61 | - name 'Mic Playback Switch' | |
62 | - value.0 false | |
63 | - value.1 false | |
64 | - } | |
65 | - control.7 { | |
66 | - comment.access 'read write' | |
67 | - comment.type INTEGER | |
68 | - comment.count 2 | |
69 | - comment.range '0 - 3' | |
70 | - comment.dbmin 0 | |
71 | - comment.dbmax 3000 | |
72 | - iface MIXER | |
73 | - name 'Mic Boost' | |
74 | - value.0 0 | |
75 | - value.1 0 | |
76 | - } | |
77 | - control.8 { | |
78 | - comment.access 'read write' | |
79 | - comment.type BOOLEAN | |
80 | - comment.count 2 | |
81 | - iface MIXER | |
82 | - name 'Capture Switch' | |
83 | - value.0 false | |
84 | - value.1 false | |
85 | - } | |
86 | - control.9 { | |
87 | - comment.access 'read write' | |
88 | - comment.type INTEGER | |
89 | - comment.count 2 | |
90 | - comment.range '0 - 31' | |
91 | - comment.dbmin -1350 | |
92 | - comment.dbmax 3300 | |
93 | - iface MIXER | |
94 | - name 'Capture Volume' | |
95 | - value.0 0 | |
96 | - value.1 0 | |
97 | - } | |
98 | - control.10 { | |
99 | - comment.access 'read write' | |
100 | - comment.type INTEGER | |
101 | - comment.count 1 | |
102 | - comment.range '0 - 64' | |
103 | - comment.dbmin -6400 | |
104 | - comment.dbmax 0 | |
105 | - iface MIXER | |
106 | - name 'Master Playback Volume' | |
107 | - value 64 | |
108 | - } | |
109 | - control.11 { | |
110 | - comment.access 'read write' | |
111 | - comment.type BOOLEAN | |
112 | - comment.count 1 | |
113 | - iface MIXER | |
114 | - name 'Master Playback Switch' | |
115 | - value true | |
116 | - } | |
117 | -} | |
118 | -state.pcsp { | |
119 | - control.1 { | |
120 | - comment.access 'read write' | |
121 | - comment.type BOOLEAN | |
122 | - comment.count 1 | |
123 | - iface MIXER | |
124 | - name 'Master Playback Switch' | |
125 | - value true | |
126 | - } | |
127 | - control.2 { | |
128 | - comment.access 'read write' | |
129 | - comment.type ENUMERATED | |
130 | - comment.count 1 | |
131 | - comment.item.0 '18643' | |
132 | - comment.item.1 '37286' | |
133 | - iface MIXER | |
134 | - name 'BaseFRQ Playback Volume' | |
135 | - value '18643' | |
136 | - } | |
137 | - control.3 { | |
138 | - comment.access 'read write' | |
139 | - comment.type BOOLEAN | |
140 | - comment.count 1 | |
141 | - iface MIXER | |
142 | - name 'Beep Playback Switch' | |
143 | - value true | |
144 | - } | |
145 | -} |
@@ -7,7 +7,8 @@ PRODUCT_DEVICE := viewpad10 | ||
7 | 7 | PRODUCT_MANUFACTURER := viewsonic |
8 | 8 | PRODUCT_PACKAGE_OVERLAYS := device/viewsonic/viewpad10/overlays |
9 | 9 | |
10 | +USE_SQUASHFS=1 | |
11 | + | |
10 | 12 | PRODUCT_COPY_FILES += \ |
11 | - device/viewsonic/viewpad10/asound.state:system/etc/asound.state \ | |
12 | - device/viewsonic/viewpad10/init.viewpad10.sh:system/etc/init.viewpad10.sh\ | |
13 | - device/viewsonic/viewpad10/modprobe.conf:system/etc/modprobe.conf \ | |
13 | + $(LOCAL_PATH)/init.viewpad10.sh:system/etc/init.viewpad10.sh\ | |
14 | + $(LOCAL_PATH)/asound.conf:system/etc/asound.conf |