1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
[pre-amble]
static const SettingDesc _music_settings[] = {
[post-amble]
};
[templates]
SDT_BOOL = SDT_BOOL($base, $var, $flags, $guiflags, $def, $str, $proc, $from, $to),
SDT_VAR = SDT_VAR($base, $var, $type, $flags, $guiflags, $def, $min, $max, $interval, $str, $proc, $from, $to),
SDT_LIST = SDT_LIST($base, $var, $type, $flags, $guiflags, $def, $str, $proc, $from, $to),
SDT_END = SDT_END()
[defaults]
flags = 0
guiflags = 0
interval = 0
str = STR_NULL
proc = NULL
load = NULL
from = 0
to = SL_MAX_VERSION
[SDT_VAR]
base = MusicFileSettings
var = playlist
type = SLE_UINT8
flags = S
def = 0
min = 0
max = 5
interval = 1
[SDT_VAR]
base = MusicFileSettings
var = music_vol
type = SLE_UINT8
flags = S
def = 127
min = 0
max = 127
interval = 1
[SDT_VAR]
base = MusicFileSettings
var = effect_vol
type = SLE_UINT8
flags = S
def = 127
min = 0
max = 127
interval = 1
[SDT_LIST]
base = MusicFileSettings
var = custom_1
type = SLE_UINT8
flags = S
def = NULL
[SDT_LIST]
base = MusicFileSettings
var = custom_2
type = SLE_UINT8
flags = S
def = NULL
[SDT_BOOL]
base = MusicFileSettings
var = playing
flags = S
def = true
[SDT_BOOL]
base = MusicFileSettings
var = shuffle
flags = S
def = false
[SDT_END]
};
|