Mercurial > hg > xmms-sid
comparison src/xs_config.h @ 702:b5b6b13a6d85
Renamed some types.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 25 May 2008 01:38:48 +0300 |
parents | 7bc76d9fa6cd |
children | 06db79680afe |
comparison
equal
deleted
inserted
replaced
701:f2037b4d2c23 | 702:b5b6b13a6d85 |
---|---|
66 XS_SIDMODEL_ANY | 66 XS_SIDMODEL_ANY |
67 }; | 67 }; |
68 | 68 |
69 | 69 |
70 typedef struct { | 70 typedef struct { |
71 t_xs_int_point points[XS_SIDPLAY2_NFPOINTS]; | 71 gint type; |
72 gint npoints; | 72 xs_int_point_t points[XS_SIDPLAY2_NFPOINTS]; |
73 gchar *name; | 73 gint npoints; |
74 } t_xs_sid2_filter; | 74 gchar *name; |
75 } xs_sid2_filter_t; | |
75 | 76 |
76 | 77 |
77 extern struct t_xs_cfg { | 78 extern struct xs_cfg_t { |
78 /* General audio settings */ | 79 /* General audio settings */ |
79 gint audioBitsPerSample; | 80 gint audioBitsPerSample; |
80 gint audioChannels; | 81 gint audioChannels; |
81 gint audioFrequency; | 82 gint audioFrequency; |
82 | 83 |
97 gfloat sid1FilterFm; | 98 gfloat sid1FilterFm; |
98 gfloat sid1FilterFt; | 99 gfloat sid1FilterFt; |
99 | 100 |
100 gint sid2OptLevel; /* SIDPlay2 emulation optimization */ | 101 gint sid2OptLevel; /* SIDPlay2 emulation optimization */ |
101 gint sid2Builder; /* SIDPlay2 "builder" aka SID-emu */ | 102 gint sid2Builder; /* SIDPlay2 "builder" aka SID-emu */ |
102 t_xs_sid2_filter sid2Filter; /* Current SIDPlay2 filter */ | 103 xs_sid2_filter_t sid2Filter; /* Current SIDPlay2 filter */ |
103 t_xs_sid2_filter **sid2FilterPresets; | 104 xs_sid2_filter_t **sid2FilterPresets; |
104 gint sid2NFilterPresets; | 105 gint sid2NFilterPresets; |
105 | 106 |
106 | 107 |
107 /* Playing settings */ | 108 /* Playing settings */ |
108 gboolean playMaxTimeEnable, | 109 gboolean playMaxTimeEnable, |
156 | 157 |
157 typedef struct { | 158 typedef struct { |
158 gint itemType; /* Type of item (CTYPE_*) */ | 159 gint itemType; /* Type of item (CTYPE_*) */ |
159 void *itemData; /* Pointer to variable */ | 160 void *itemData; /* Pointer to variable */ |
160 gchar *itemName; /* Name of configuration item */ | 161 gchar *itemName; /* Name of configuration item */ |
161 } t_xs_cfg_item; | 162 } xs_cfg_item_t; |
162 | 163 |
163 | 164 |
164 typedef struct { | 165 typedef struct { |
165 gint widType; | 166 gint widType; |
166 gint itemType; | 167 gint itemType; |
167 gchar *widName; | 168 gchar *widName; |
168 void *itemData; | 169 void *itemData; |
169 gint itemSet; | 170 gint itemSet; |
170 } t_xs_wid_item; | 171 } xs_wid_item_t; |
171 | 172 |
172 | 173 |
173 /* Functions | 174 /* Functions |
174 */ | 175 */ |
175 void xs_init_configuration(void); | 176 void xs_init_configuration(void); |