The ultimate alsa guide to statefile by klaszlo
From Openmoko
(Difference between revisions)
(New page: == The .state file == control.23 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Capture ZC Switch' value.0 false ...) |
(→Directives) |
||
Line 21: | Line 21: | ||
value.0, value.1, value -- true, false, 0, 7, 110, 127, 'Linear Control', '3.4Hz @48kHz', HiFi, Off, VREF | value.0, value.1, value -- true, false, 0, 7, 110, 127, 'Linear Control', '3.4Hz @48kHz', HiFi, Off, VREF | ||
comment.count -- 1 or 2, | comment.count -- 1 or 2, | ||
+ | |||
+ | == Table == | ||
+ | {| border="1" cellspacing=0 cellpadding=4 | ||
+ | !Number | ||
+ | !Name | ||
+ | !Amixer name | ||
+ | !type | ||
+ | !value | ||
+ | |- | ||
+ | |control.1 | ||
+ | |PCM Volume | ||
+ | |? | ||
+ | |INTEGER | ||
+ | |value.0=0, value.1=0 | ||
+ | |} |
Revision as of 22:59, 18 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 | value |
---|---|---|---|---|
control.1 | PCM Volume | ? | INTEGER | value.0=0, value.1=0 |