Mercurial > hg > xmms-sid
comparison src/xs_config.h @ 713:06db79680afe
Added new variables for distortion tunables and made few changes to SID1
filter variables too.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 09 Feb 2009 13:23:32 +0200 |
parents | b5b6b13a6d85 |
children | cab9d2b182e8 |
comparison
equal
deleted
inserted
replaced
712:f82e0adf19f0 | 713:06db79680afe |
---|---|
66 XS_SIDMODEL_ANY | 66 XS_SIDMODEL_ANY |
67 }; | 67 }; |
68 | 68 |
69 | 69 |
70 typedef struct { | 70 typedef struct { |
71 gchar *name; | |
71 gint type; | 72 gint type; |
72 xs_int_point_t points[XS_SIDPLAY2_NFPOINTS]; | 73 xs_int_point_t points[XS_SIDPLAY2_NFPOINTS]; |
73 gint npoints; | 74 gint npoints; |
74 gchar *name; | 75 |
76 /* Distortion patch tunables */ | |
77 gfloat rate, point, voice_nonlinearity, cf_treshold; | |
78 | |
79 /* Filter Type 3 tunables */ | |
80 gfloat baseresistance, offset, steepness, | |
81 minimumfetresistance; | |
82 | |
83 /* Filter Type 4 tunables */ | |
84 gfloat k, b; | |
75 } xs_sid2_filter_t; | 85 } xs_sid2_filter_t; |
86 | |
87 | |
88 typedef struct { | |
89 gfloat fs, fm, ft; | |
90 } xs_sid1_filter_t; | |
76 | 91 |
77 | 92 |
78 extern struct xs_cfg_t { | 93 extern struct xs_cfg_t { |
79 /* General audio settings */ | 94 /* General audio settings */ |
80 gint audioBitsPerSample; | 95 gint audioBitsPerSample; |
92 gboolean forceSpeed; /* TRUE = force to given clockspeed */ | 107 gboolean forceSpeed; /* TRUE = force to given clockspeed */ |
93 | 108 |
94 gint playerEngine; /* Selected player engine */ | 109 gint playerEngine; /* Selected player engine */ |
95 | 110 |
96 gboolean emulateFilters; | 111 gboolean emulateFilters; |
97 gfloat sid1FilterFs; | 112 xs_sid1_filter_t sid1Filter; |
98 gfloat sid1FilterFm; | |
99 gfloat sid1FilterFt; | |
100 | 113 |
101 gint sid2OptLevel; /* SIDPlay2 emulation optimization */ | 114 gint sid2OptLevel; /* SIDPlay2 emulation optimization */ |
102 gint sid2Builder; /* SIDPlay2 "builder" aka SID-emu */ | 115 gint sid2Builder; /* SIDPlay2 "builder" aka SID-emu */ |
103 xs_sid2_filter_t sid2Filter; /* Current SIDPlay2 filter */ | 116 xs_sid2_filter_t sid2Filter; /* Current SIDPlay2 filter */ |
104 xs_sid2_filter_t **sid2FilterPresets; | 117 xs_sid2_filter_t **sid2FilterPresets; |