Mercurial > hg > xmms-sid
diff src/xs_config.h @ 75:653c9b0d1320
SIDPlay2 support "works" now. Borked problems with threads.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 15 Sep 2003 11:10:03 +0000 |
parents | 2bc607888f53 |
children | ab522ab65c85 |
line wrap: on
line diff
--- a/src/xs_config.h Sun Sep 14 18:51:05 2003 +0000 +++ b/src/xs_config.h Mon Sep 15 11:10:03 2003 +0000 @@ -10,20 +10,20 @@ /* * Configuration structure */ -enum XS_ENG { +enum XS_EMUENGINE { XS_ENG_SIDPLAY1, XS_ENG_SIDPLAY2, XS_ENG_NANOSID }; -enum XS_RES { +enum XS_RESOLUTION { XS_RES_8BIT = 8, XS_RES_16BIT = 16, XS_RES_24BIT = 24 }; -enum XS_CHN { +enum XS_CHANNELS { XS_CHN_MONO = 1, XS_CHN_STEREO = 2, XS_CHN_AUTOPAN = 3 @@ -36,12 +36,6 @@ }; -enum XS_EMUENGINE { - XS_SIDPLAY1 = 1, - XS_SIDPLAY2 -}; - - enum XS_MPU { XS_MPU_BANK_SWITCHING = 1, XS_MPU_TRANSPARENT_ROM, @@ -50,6 +44,12 @@ }; +enum XS_FILTER { + XS_FILTER_AVERAGE = 1, + XS_FILTER_SINC +}; + + extern struct t_xs_cfg { /* General audio settings */ gint fmtBitsPerSample; @@ -65,9 +65,12 @@ gint memoryMode; /* See XS_MPU-constants */ gint clockSpeed; /* PAL (50Hz) or NTSC (60Hz) */ gboolean forceSpeed; /* TRUE = force to given clockspeed */ + gboolean optimiseLevel; /* SIDPlay2 emulation optimization */ + gboolean oversampleEnable; gint oversampleFactor; /* Factor of oversampling */ + gint oversampleFilter; /* Oversampling filter type */ /* Playing settings */ gboolean playMaxTimeEnable;