Mercurial > hg > xmms-sid
diff 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 |
line wrap: on
line diff
--- a/src/xs_config.h Mon Feb 09 11:14:18 2009 +0200 +++ b/src/xs_config.h Mon Feb 09 13:23:32 2009 +0200 @@ -68,13 +68,28 @@ typedef struct { + gchar *name; gint type; xs_int_point_t points[XS_SIDPLAY2_NFPOINTS]; gint npoints; - gchar *name; + + /* Distortion patch tunables */ + gfloat rate, point, voice_nonlinearity, cf_treshold; + + /* Filter Type 3 tunables */ + gfloat baseresistance, offset, steepness, + minimumfetresistance; + + /* Filter Type 4 tunables */ + gfloat k, b; } xs_sid2_filter_t; +typedef struct { + gfloat fs, fm, ft; +} xs_sid1_filter_t; + + extern struct xs_cfg_t { /* General audio settings */ gint audioBitsPerSample; @@ -94,9 +109,7 @@ gint playerEngine; /* Selected player engine */ gboolean emulateFilters; - gfloat sid1FilterFs; - gfloat sid1FilterFm; - gfloat sid1FilterFt; + xs_sid1_filter_t sid1Filter; gint sid2OptLevel; /* SIDPlay2 emulation optimization */ gint sid2Builder; /* SIDPlay2 "builder" aka SID-emu */