The ultimate alsa guide to statefile by klaszlo
From Openmoko
(Difference between revisions)
(→Table) |
(→Table) |
||
Line 36: | Line 36: | ||
|INTEGER | |INTEGER | ||
|0-255 | |0-255 | ||
− | | | + | |0<br />0 |
|- | |- | ||
|control.2 | |control.2 | ||
Line 43: | Line 43: | ||
|INTEGER | |INTEGER | ||
|0-255 | |0-255 | ||
− | | | + | |0<br />0 |
|- | |- | ||
|control.3 | |control.3 | ||
Line 50: | Line 50: | ||
|INTEGER | |INTEGER | ||
|0-127 | |0-127 | ||
− | | | + | |0<br />0 |
|- | |- | ||
|control.4 | |control.4 | ||
Line 57: | Line 57: | ||
|INTEGER | |INTEGER | ||
|0-127 | |0-127 | ||
− | | | + | |127<br />127 |
|- | |- | ||
|control.5 | |control.5 | ||
Line 64: | Line 64: | ||
|INTEGER | |INTEGER | ||
|0-127 | |0-127 | ||
− | | | + | |110 |
|- | |- | ||
|control.6 | |control.6 | ||
Line 71: | Line 71: | ||
|INTEGER | |INTEGER | ||
|0-7 | |0-7 | ||
− | | | + | |7<br />7 |
|- | |- | ||
|control.7 | |control.7 | ||
Line 78: | Line 78: | ||
|INTEGER | |INTEGER | ||
|0-7 | |0-7 | ||
− | | | + | |0<br />0 |
|- | |- | ||
|control.8 | |control.8 | ||
Line 85: | Line 85: | ||
|INTEGER | |INTEGER | ||
|0-7 | |0-7 | ||
− | | | + | |0<br />0 |
|- | |- | ||
|control.9 | |control.9 | ||
Line 92: | Line 92: | ||
|BOOLEAN | |BOOLEAN | ||
|true/false | |true/false | ||
− | | | + | |false <br />false |
|- | |- | ||
|control.10 | |control.10 | ||
Line 99: | Line 99: | ||
|BOOLEAN | |BOOLEAN | ||
|true/false | |true/false | ||
− | | | + | |false <br />false |
|- | |- | ||
|control.11 | |control.11 | ||
Line 106: | Line 106: | ||
|INTEGER | |INTEGER | ||
|0-7 | |0-7 | ||
− | | | + | |0 |
|- | |- | ||
|control.12 | |control.12 | ||
Line 113: | Line 113: | ||
|INTEGER | |INTEGER | ||
|0-7 | |0-7 | ||
− | | | + | |7 |
|- | |- | ||
|control.13 | |control.13 | ||
Line 120: | Line 120: | ||
|INTEGER | |INTEGER | ||
|0-7 | |0-7 | ||
− | | | + | |0 |
|- | |- | ||
|control.14 | |control.14 | ||
Line 127: | Line 127: | ||
|BOOLEAN | |BOOLEAN | ||
|true/false | |true/false | ||
− | | | + | |false |
|- | |- | ||
|control.15 | |control.15 | ||
Line 148: | Line 148: | ||
|INTEGER | |INTEGER | ||
|0-15 | |0-15 | ||
− | | | + | |0 |
|- | |- | ||
|control.18 | |control.18 | ||
Line 155: | Line 155: | ||
|INTEGER | |INTEGER | ||
|0-15 | |0-15 | ||
− | | | + | |0 |
|- | |- | ||
|control.19 | |control.19 | ||
Line 165: | Line 165: | ||
|- | |- | ||
|control.20 | |control.20 | ||
+ | |Sidetone Capture Volume | ||
| | | | ||
− | | | + | |INTEGER |
− | | | + | |0-7 |
− | | | + | |0<br />0 |
|- | |- | ||
|control.21 | |control.21 |
Revision as of 11:27, 19 September 2009
The .state file
control.23 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Capture ZC Switch' value.0 false value.1 false }
Directives
control.23 -- name of the control block comment.access -- 'read write' (all the 94 control has it) comment.type -- BOOLEAN, ENUMERATED, INTEGER comment.count -- ? iface MIXER -- all the 94 control has it name 'Capture ZC Switch' -- value.0, value.1, value -- true, false, 0, 7, 110, 127, 'Linear Control', '3.4Hz @48kHz', HiFi, Off, VREF comment.count -- 1 or 2,
Table
Number | Name | Amixer name | type | range | value.gsmhandset |
---|---|---|---|---|---|
control.1 | PCM Volume | ? | INTEGER | 0-255 | 0 0 |
control.2 | ADC Capture Volume | INTEGER | 0-255 | 0 0 | |
control.3 | Headphone Playback Volume | INTEGER | 0-127 | 0 0 | |
control.4 | Speaker Playback Volume | INTEGER | 0-127 | 127 127 | |
control.5 | Mono Playback Volume | INTEGER | 0-127 | 110 | |
control.6 | Bypass Playback Volume | INTEGER | 0-7 | 7 7 | |
control.7 | Sidetone Playback Volume | INTEGER | 0-7 | 0 0 | |
control.8 | Voice Playback Volume | INTEGER | 0-7 | 0 0 | |
control.9 | Headphone Playback ZC Switch | BOOLEAN | true/false | false false | |
control.10 | Speaker Playback ZC Switch | BOOLEAN | true/false | false false | |
control.11 | Mono Bypass Playback Volume | INTEGER | 0-7 | 0 | |
control.12 | Mono Sidetone Playback Volume | INTEGER | 0-7 | 7 | |
control.13 | Mono Voice Playback Volume | INTEGER | 0-7 | 0 | |
control.14 | Mono Playback ZC Switch | BOOLEAN | true/false | false | |
control.15 | Bass Boost | ENUMERATED | Linear Control Adaptive Boost |
Linear Control | |
control.16 | Bass Filter | ENUMERATED | 130Hz @ 48kHz 200Hz @ 48kHz 100Hz @ 16kHz 400Hz @ 48kHz 100Hz @ 8kHz 200Hz @ 8kHz |
130Hz @ 48kHz | |
control.17 | Bass Volume | INTEGER | 0-15 | 0 | |
control.18 | Treble Volume | INTEGER | 0-15 | 0 | |
control.19 | Treble Cut-off | ENUMERATED | 8kHz 4kHz |
8kHz | |
control.20 | Sidetone Capture Volume | INTEGER | 0-7 | 0 0 | |
control.21 | |||||
control.22 | |||||
control.23 | |||||
control.24 | |||||
control.25 | |||||
control.26 | |||||
control.27 | |||||
control.28 | |||||
control.29 | |||||
control.30 | |||||
control.31 | |||||
control.32 | |||||
control.33 | |||||
control.34 | |||||
control.35 | |||||
control.36 | |||||
control.37 | |||||
control.38 | |||||
control.39 | |||||
control.40 | |||||
control.41 | |||||
control.42 | |||||
control.43 | |||||
control.44 | |||||
control.45 | |||||
control.46 | |||||
control.47 | |||||
control.48 | |||||
control.49 | |||||
control.50 | |||||
control.51 | |||||
control.52 | |||||
control.53 | |||||
control.54 | |||||
control.55 | |||||
control.56 | |||||
control.57 | |||||
control.58 | |||||
control.59 | |||||
control.60 | |||||
control.61 | |||||
control.62 | |||||
control.63 | |||||
control.64 | |||||
control.65 | |||||
control.66 | |||||
control.67 | |||||
control.68 | |||||
control.69 | |||||
control.70 | |||||
control.71 | |||||
control.72 | |||||
control.73 | |||||
control.74 | |||||
control.75 | |||||
control.76 | |||||
control.77 | |||||
control.78 | |||||
control.79 | |||||
control.80 | |||||
control.81 | |||||
control.82 | |||||
control.83 | |||||
control.84 | |||||
control.85 | |||||
control.86 | |||||
control.87 | |||||
control.88 | |||||
control.89 | |||||
control.90 | |||||
control.91 | |||||
control.92 | |||||
control.93 | |||||
control.94 |