comparison src/xs_config.h @ 685:7bc76d9fa6cd

More indentation cleanups.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 21 May 2008 02:26:42 +0300
parents b0743dc9165d
children b5b6b13a6d85
comparison
equal deleted inserted replaced
684:4bf845090a25 685:7bc76d9fa6cd
79 gint audioBitsPerSample; 79 gint audioBitsPerSample;
80 gint audioChannels; 80 gint audioChannels;
81 gint audioFrequency; 81 gint audioFrequency;
82 82
83 gboolean oversampleEnable; 83 gboolean oversampleEnable;
84 gint oversampleFactor; /* Factor of oversampling */ 84 gint oversampleFactor; /* Factor of oversampling */
85 85
86 /* Emulation settings */ 86 /* Emulation settings */
87 gboolean mos8580; /* TRUE = 8580, FALSE = 6581 */ 87 gboolean mos8580; /* TRUE = 8580, FALSE = 6581 */
88 gboolean forceModel; 88 gboolean forceModel;
89 gint memoryMode; /* See XS_MPU-constants */ 89 gint memoryMode; /* See XS_MPU-constants */
90 gint clockSpeed; /* PAL (50Hz) or NTSC (60Hz) */ 90 gint clockSpeed; /* PAL (50Hz) or NTSC (60Hz) */
91 gboolean forceSpeed; /* TRUE = force to given clockspeed */ 91 gboolean forceSpeed; /* TRUE = force to given clockspeed */
92 92
93 gint playerEngine; /* Selected player engine */ 93 gint playerEngine; /* Selected player engine */
94 94
95 gboolean emulateFilters; 95 gboolean emulateFilters;
96 gfloat sid1FilterFs; 96 gfloat sid1FilterFs;
97 gfloat sid1FilterFm; 97 gfloat sid1FilterFm;
98 gfloat sid1FilterFt; 98 gfloat sid1FilterFt;
99 99
100 gint sid2OptLevel; /* SIDPlay2 emulation optimization */ 100 gint sid2OptLevel; /* SIDPlay2 emulation optimization */
101 gint sid2Builder; /* SIDPlay2 "builder" aka SID-emu */ 101 gint sid2Builder; /* SIDPlay2 "builder" aka SID-emu */
102 t_xs_sid2_filter sid2Filter; /* Current SIDPlay2 filter */ 102 t_xs_sid2_filter sid2Filter; /* Current SIDPlay2 filter */
103 t_xs_sid2_filter **sid2FilterPresets; 103 t_xs_sid2_filter **sid2FilterPresets;
104 gint sid2NFilterPresets; 104 gint sid2NFilterPresets;
105 105
106 106
107 /* Playing settings */ 107 /* Playing settings */
108 gboolean playMaxTimeEnable, 108 gboolean playMaxTimeEnable,
109 playMaxTimeUnknown; /* Use max-time only when song-length is unknown */ 109 playMaxTimeUnknown; /* Use max-time only when song-length is unknown */
110 gint playMaxTime; /* MAX playtime in seconds */ 110 gint playMaxTime; /* MAX playtime in seconds */
111 111
112 gboolean playMinTimeEnable; 112 gboolean playMinTimeEnable;
113 gint playMinTime; /* MIN playtime in seconds */ 113 gint playMinTime; /* MIN playtime in seconds */
114 114
115 gboolean songlenDBEnable; 115 gboolean songlenDBEnable;
116 gchar *songlenDBPath; /* Path to Songlengths.txt */ 116 gchar *songlenDBPath; /* Path to Songlengths.txt */
117 117
118 118
119 /* Miscellaneous settings */ 119 /* Miscellaneous settings */
120 gboolean stilDBEnable; 120 gboolean stilDBEnable;
121 gchar *stilDBPath; /* Path to STIL.txt */ 121 gchar *stilDBPath; /* Path to STIL.txt */
122 gchar *hvscPath; /* Path-prefix for HVSC */ 122 gchar *hvscPath; /* Path-prefix for HVSC */
123 123
124 gint subsongControl; 124 gint subsongControl;
125 gboolean detectMagic; 125 gboolean detectMagic;
126 126
127 gboolean titleOverride; /* TRUE if XMMS titles are overriden */ 127 gboolean titleOverride; /* TRUE if XMMS titles are overriden */
128 gchar *titleFormat; 128 gchar *titleFormat;
129 129
130 gboolean subAutoEnable, 130 gboolean subAutoEnable,
131 subAutoMinOnly; 131 subAutoMinOnly;
132 gint subAutoMinTime; 132 gint subAutoMinTime;
133 } xs_cfg; 133 } xs_cfg;
134 134
135 XS_MUTEX_H(xs_cfg); 135 XS_MUTEX_H(xs_cfg);
136 136
153 WTYPE_COMBO 153 WTYPE_COMBO
154 }; 154 };
155 155
156 156
157 typedef struct { 157 typedef struct {
158 gint itemType; /* Type of item (CTYPE_*) */ 158 gint itemType; /* Type of item (CTYPE_*) */
159 void *itemData; /* Pointer to variable */ 159 void *itemData; /* Pointer to variable */
160 gchar *itemName; /* Name of configuration item */ 160 gchar *itemName; /* Name of configuration item */
161 } t_xs_cfg_item; 161 } t_xs_cfg_item;
162 162
163 163
164 typedef struct { 164 typedef struct {
165 gint widType; 165 gint widType;
166 gint itemType; 166 gint itemType;
167 gchar *widName; 167 gchar *widName;
168 void *itemData; 168 void *itemData;
169 gint itemSet; 169 gint itemSet;
170 } t_xs_wid_item; 170 } t_xs_wid_item;
171 171
172 172