annotate src/sid/xs_config.h @ 3193:93cf4d0a0dde

alsa-ng: Prefer "PCM" volume control over "Wave" on systems that have both, for consistency with OSS plugin and maybe other apps (closes AUD-34 and AUD-36).
author John Lindgren <john.lindgren@tds.net>
date Mon, 29 Jun 2009 23:05:56 -0400
parents 45ef6d7c0174
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
1 #ifndef XS_CONFIG_H
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
2 #define XS_CONFIG_H
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
3
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
4 #include "xmms-sid.h"
735
6c3c7b841382 [svn] - sync audacious-sid with latest xmms-sid, from Matti Hamalainen (ccr).
nenolod
parents: 464
diff changeset
5 #include "xs_curve.h"
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
6
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
7 #ifdef __cplusplus
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
8 extern "C" {
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
9 #endif
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
10
735
6c3c7b841382 [svn] - sync audacious-sid with latest xmms-sid, from Matti Hamalainen (ccr).
nenolod
parents: 464
diff changeset
11
6c3c7b841382 [svn] - sync audacious-sid with latest xmms-sid, from Matti Hamalainen (ccr).
nenolod
parents: 464
diff changeset
12 /* Configuration structure
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
13 */
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
14 enum XS_EMUENGINE {
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
15 XS_ENG_SIDPLAY1 = 1,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
16 XS_ENG_SIDPLAY2
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
17 };
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
18
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
19
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
20 enum XS_BUILDER {
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
21 XS_BLD_RESID = 1,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
22 XS_BLD_HARDSID
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
23 };
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
24
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
25 enum XS_RESOLUTION {
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
26 XS_RES_8BIT = 8,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
27 XS_RES_16BIT = 16
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
28 };
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
29
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
30 enum XS_CHANNELS {
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
31 XS_CHN_MONO = 1,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
32 XS_CHN_STEREO = 2,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
33 XS_CHN_AUTOPAN = 3
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
34 };
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
35
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
36
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
37 enum XS_CLOCK {
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
38 XS_CLOCK_PAL = 1,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
39 XS_CLOCK_NTSC,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
40 XS_CLOCK_VBI,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
41 XS_CLOCK_CIA,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
42 XS_CLOCK_ANY
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
43 };
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
44
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
45
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
46 enum XS_MPU {
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
47 XS_MPU_BANK_SWITCHING = 1,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
48 XS_MPU_TRANSPARENT_ROM,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
49 XS_MPU_PLAYSID_ENVIRONMENT,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
50 XS_MPU_REAL
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
51 };
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
52
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
53
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
54 enum XS_SSC {
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
55 XS_SSC_NONE = 1,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
56 XS_SSC_POPUP,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
57 XS_SSC_PATCH,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
58 XS_SSC_SEEK
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
59 };
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
60
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
61
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
62 enum XS_SIDMODEL {
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
63 XS_SIDMODEL_UNKNOWN = 0,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
64 XS_SIDMODEL_6581,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
65 XS_SIDMODEL_8580,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
66 XS_SIDMODEL_ANY
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
67 };
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
68
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
69
735
6c3c7b841382 [svn] - sync audacious-sid with latest xmms-sid, from Matti Hamalainen (ccr).
nenolod
parents: 464
diff changeset
70 typedef struct {
2643
45ef6d7c0174 Synchronized typedef name changes from XMMS-SID.
Matti Hamalainen <ccr@tnsp.org>
parents: 2595
diff changeset
71 gint type;
45ef6d7c0174 Synchronized typedef name changes from XMMS-SID.
Matti Hamalainen <ccr@tnsp.org>
parents: 2595
diff changeset
72 xs_int_point_t points[XS_SIDPLAY2_NFPOINTS];
45ef6d7c0174 Synchronized typedef name changes from XMMS-SID.
Matti Hamalainen <ccr@tnsp.org>
parents: 2595
diff changeset
73 gint npoints;
45ef6d7c0174 Synchronized typedef name changes from XMMS-SID.
Matti Hamalainen <ccr@tnsp.org>
parents: 2595
diff changeset
74 gchar *name;
45ef6d7c0174 Synchronized typedef name changes from XMMS-SID.
Matti Hamalainen <ccr@tnsp.org>
parents: 2595
diff changeset
75 } xs_sid2_filter_t;
735
6c3c7b841382 [svn] - sync audacious-sid with latest xmms-sid, from Matti Hamalainen (ccr).
nenolod
parents: 464
diff changeset
76
6c3c7b841382 [svn] - sync audacious-sid with latest xmms-sid, from Matti Hamalainen (ccr).
nenolod
parents: 464
diff changeset
77
2643
45ef6d7c0174 Synchronized typedef name changes from XMMS-SID.
Matti Hamalainen <ccr@tnsp.org>
parents: 2595
diff changeset
78 extern struct xs_cfg_t {
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
79 /* General audio settings */
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
80 gint audioBitsPerSample;
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
81 gint audioChannels;
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
82 gint audioFrequency;
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
83
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
84 gboolean oversampleEnable;
2595
cde42a37ccf6 More indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 2509
diff changeset
85 gint oversampleFactor; /* Factor of oversampling */
735
6c3c7b841382 [svn] - sync audacious-sid with latest xmms-sid, from Matti Hamalainen (ccr).
nenolod
parents: 464
diff changeset
86
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
87 /* Emulation settings */
2595
cde42a37ccf6 More indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 2509
diff changeset
88 gboolean mos8580; /* TRUE = 8580, FALSE = 6581 */
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
89 gboolean forceModel;
2595
cde42a37ccf6 More indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 2509
diff changeset
90 gint memoryMode; /* See XS_MPU-constants */
cde42a37ccf6 More indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 2509
diff changeset
91 gint clockSpeed; /* PAL (50Hz) or NTSC (60Hz) */
cde42a37ccf6 More indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 2509
diff changeset
92 gboolean forceSpeed; /* TRUE = force to given clockspeed */
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
93
2595
cde42a37ccf6 More indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 2509
diff changeset
94 gint playerEngine; /* Selected player engine */
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
95
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
96 gboolean emulateFilters;
2595
cde42a37ccf6 More indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 2509
diff changeset
97 gfloat sid1FilterFs;
cde42a37ccf6 More indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 2509
diff changeset
98 gfloat sid1FilterFm;
cde42a37ccf6 More indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 2509
diff changeset
99 gfloat sid1FilterFt;
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
100
2595
cde42a37ccf6 More indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 2509
diff changeset
101 gint sid2OptLevel; /* SIDPlay2 emulation optimization */
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
102 gint sid2Builder; /* SIDPlay2 "builder" aka SID-emu */
2643
45ef6d7c0174 Synchronized typedef name changes from XMMS-SID.
Matti Hamalainen <ccr@tnsp.org>
parents: 2595
diff changeset
103 xs_sid2_filter_t sid2Filter; /* Current SIDPlay2 filter */
45ef6d7c0174 Synchronized typedef name changes from XMMS-SID.
Matti Hamalainen <ccr@tnsp.org>
parents: 2595
diff changeset
104 xs_sid2_filter_t **sid2FilterPresets;
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
105 gint sid2NFilterPresets;
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
106
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
107
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
108 /* Playing settings */
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
109 gboolean playMaxTimeEnable,
2595
cde42a37ccf6 More indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 2509
diff changeset
110 playMaxTimeUnknown; /* Use max-time only when song-length is unknown */
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
111 gint playMaxTime; /* MAX playtime in seconds */
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
112
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
113 gboolean playMinTimeEnable;
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
114 gint playMinTime; /* MIN playtime in seconds */
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
115
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
116 gboolean songlenDBEnable;
2595
cde42a37ccf6 More indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 2509
diff changeset
117 gchar *songlenDBPath; /* Path to Songlengths.txt */
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
118
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
119
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
120 /* Miscellaneous settings */
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
121 gboolean stilDBEnable;
2595
cde42a37ccf6 More indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 2509
diff changeset
122 gchar *stilDBPath; /* Path to STIL.txt */
cde42a37ccf6 More indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 2509
diff changeset
123 gchar *hvscPath; /* Path-prefix for HVSC */
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
124
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
125 gint subsongControl;
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
126 gboolean detectMagic;
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
127
2595
cde42a37ccf6 More indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 2509
diff changeset
128 gboolean titleOverride; /* TRUE if XMMS titles are overriden */
cde42a37ccf6 More indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 2509
diff changeset
129 gchar *titleFormat;
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
130
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
131 gboolean subAutoEnable,
2595
cde42a37ccf6 More indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 2509
diff changeset
132 subAutoMinOnly;
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
133 gint subAutoMinTime;
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
134 } xs_cfg;
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
135
735
6c3c7b841382 [svn] - sync audacious-sid with latest xmms-sid, from Matti Hamalainen (ccr).
nenolod
parents: 464
diff changeset
136 XS_MUTEX_H(xs_cfg);
6c3c7b841382 [svn] - sync audacious-sid with latest xmms-sid, from Matti Hamalainen (ccr).
nenolod
parents: 464
diff changeset
137
6c3c7b841382 [svn] - sync audacious-sid with latest xmms-sid, from Matti Hamalainen (ccr).
nenolod
parents: 464
diff changeset
138
6c3c7b841382 [svn] - sync audacious-sid with latest xmms-sid, from Matti Hamalainen (ccr).
nenolod
parents: 464
diff changeset
139 /* Configuration-file
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
140 */
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
141 enum {
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
142 CTYPE_INT = 1,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
143 CTYPE_FLOAT,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
144 CTYPE_STR,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
145 CTYPE_BOOL
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
146 };
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
147
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
148 enum {
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
149 WTYPE_BGROUP = 1,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
150 WTYPE_SPIN,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
151 WTYPE_SCALE,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
152 WTYPE_BUTTON,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
153 WTYPE_TEXT,
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
154 WTYPE_COMBO
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
155 };
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
156
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
157
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
158 typedef struct {
2595
cde42a37ccf6 More indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 2509
diff changeset
159 gint itemType; /* Type of item (CTYPE_*) */
cde42a37ccf6 More indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 2509
diff changeset
160 void *itemData; /* Pointer to variable */
cde42a37ccf6 More indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 2509
diff changeset
161 gchar *itemName; /* Name of configuration item */
2643
45ef6d7c0174 Synchronized typedef name changes from XMMS-SID.
Matti Hamalainen <ccr@tnsp.org>
parents: 2595
diff changeset
162 } xs_cfg_item_t;
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
163
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
164
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
165 typedef struct {
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
166 gint widType;
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
167 gint itemType;
2595
cde42a37ccf6 More indentation cleanups.
Matti Hamalainen <ccr@tnsp.org>
parents: 2509
diff changeset
168 gchar *widName;
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
169 void *itemData;
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
170 gint itemSet;
2643
45ef6d7c0174 Synchronized typedef name changes from XMMS-SID.
Matti Hamalainen <ccr@tnsp.org>
parents: 2595
diff changeset
171 } xs_wid_item_t;
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
172
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
173
735
6c3c7b841382 [svn] - sync audacious-sid with latest xmms-sid, from Matti Hamalainen (ccr).
nenolod
parents: 464
diff changeset
174 /* Functions
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
175 */
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
176 void xs_init_configuration(void);
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
177 void xs_configure(void);
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
178 void xs_read_configuration(void);
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
179 gint xs_write_configuration(void);
0
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
180
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
181 #ifdef __cplusplus
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
182 }
13389e613d67 [svn] - initial import of audacious-plugins tree (lots to do)
nenolod
parents:
diff changeset
183 #endif
2509
1223e8510d8a Change tabs to 4 spaces, everywhere.
Matti Hamalainen <ccr@tnsp.org>
parents: 735
diff changeset
184 #endif /* XS_CONFIG_H */