# HG changeset patch # User Matti Hamalainen # Date 1170039785 0 # Node ID e2c7ee8998da94f0766b778eb5b88dcafea90bb2 # Parent 2b56b953fcad6094bd31c75e22cc207be514e554 reSID sampling options in GUI. Not yet used, because libSIDPlay2 API does not have abstraction layer for handling those. diff -r 2b56b953fcad -r e2c7ee8998da src/xs_config.c --- a/src/xs_config.c Sun Jan 28 15:10:02 2007 +0000 +++ b/src/xs_config.c Mon Jan 29 03:03:05 2007 +0000 @@ -883,6 +883,8 @@ #endif /* Update the widget sensitivities */ + gtk_widget_set_sensitive(LUW("cfg_resid_grp"), FALSE); + xs_cfg_emu_filters_toggled((GtkToggleButton *) LUW("cfg_emu_filters"), NULL); xs_cfg_ftitle_override_toggled((GtkToggleButton *) LUW("cfg_ftitle_override"), NULL); xs_cfg_emu_sidplay1_toggled((GtkToggleButton *) LUW("cfg_emu_sidplay1"), NULL); diff -r 2b56b953fcad -r e2c7ee8998da xmms-sid.glade --- a/xmms-sid.glade Sun Jan 28 15:10:02 2007 +0000 +++ b/xmms-sid.glade Mon Jan 29 03:03:05 2007 +0000 @@ -415,6 +415,155 @@ 0 + GtkHBox + hbox1 + False + 0 + + 0 + True + True + + + + GtkFrame + frame2 + 4 + + 0 + GTK_SHADOW_ETCHED_IN + + 0 + True + True + + + + GtkVBox + vbox4 + 2 + False + 2 + + + GtkCheckButton + cfg_emu_clock_force + If enabled, this option "forces" the emulation engine to use the selected clock speed/frequency. Otherwise the speed is determined from played file itself. + True + + False + True + + 0 + False + False + + + + + GtkRadioButton + cfg_emu_clock_pal + PAL is the european TV standard, which uses 50Hz vertical refresh frequency. Largest % of SID-tunes have been made for PAL computers. + True + + False + True + speed + + 0 + False + False + + + + + GtkRadioButton + cfg_emu_clock_ntsc + NTSC is the TV standard with 60Hz vertical refresh rate (and other features that differ from PAL). It is mainly used in United States, Japan and certain other countries. + True + + False + True + speed + + 0 + False + False + + + + + + + GtkFrame + frame3 + 4 + + 0 + GTK_SHADOW_ETCHED_IN + + 0 + True + True + + + + GtkVBox + vbox3 + 2 + False + 2 + + + GtkCheckButton + cfg_emu_sid_force + If enabled, this option "forces" the emulation engine to use the selected SID-chip model. Otherwise the preferred SID model is determined from the file (if PSIDv2NG type) or if not available, this setting is used. + True + + False + True + + 0 + False + False + + + + + GtkRadioButton + cfg_emu_mos6581 + MOS/CSG 6581 is the earlier major version of SID chip. It differs from 8580 in few ways, having much fuller filter (which, due to design error, is never same between two different SID-chips) and has the "volume adjustment bug", which enables playing of digital samples. + True + + False + True + waveforms + + 0 + False + False + + + + + GtkRadioButton + cfg_emu_mos8580 + True + + False + True + waveforms + + 0 + False + False + + + + + + + GtkFrame frame26 4 @@ -581,155 +730,6 @@ 0 - GtkHBox - hbox1 - False - 0 - - 0 - False - True - - - - GtkFrame - frame2 - 4 - - 0 - GTK_SHADOW_ETCHED_IN - - 0 - True - True - - - - GtkVBox - vbox4 - 2 - False - 2 - - - GtkCheckButton - cfg_emu_clock_force - If enabled, this option "forces" the emulation engine to use the selected clock speed/frequency. Otherwise the speed is determined from played file itself. - True - - False - True - - 0 - False - False - - - - - GtkRadioButton - cfg_emu_clock_pal - PAL is the european TV standard, which uses 50Hz vertical refresh frequency. Largest % of SID-tunes have been made for PAL computers. - True - - False - True - speed - - 0 - False - False - - - - - GtkRadioButton - cfg_emu_clock_ntsc - NTSC is the TV standard with 60Hz vertical refresh rate (and other features that differ from PAL). It is mainly used in United States, Japan and certain other countries. - True - - False - True - speed - - 0 - False - False - - - - - - - GtkFrame - frame3 - 4 - - 0 - GTK_SHADOW_ETCHED_IN - - 0 - True - True - - - - GtkVBox - vbox3 - 2 - False - 2 - - - GtkCheckButton - cfg_emu_sid_force - If enabled, this option "forces" the emulation engine to use the selected SID-chip model. Otherwise the preferred SID model is determined from the file (if PSIDv2NG type) or if not available, this setting is used. - True - - False - True - - 0 - False - False - - - - - GtkRadioButton - cfg_emu_mos6581 - MOS/CSG 6581 is the earlier major version of SID chip. It differs from 8580 in few ways, having much fuller filter (which, due to design error, is never same between two different SID-chips) and has the "volume adjustment bug", which enables playing of digital samples. - True - - False - True - waveforms - - 0 - False - False - - - - - GtkRadioButton - cfg_emu_mos8580 - True - - False - True - waveforms - - 0 - False - False - - - - - - - GtkFrame cfg_sidplay2_grp 4 @@ -797,6 +797,90 @@ + + + GtkFrame + cfg_resid_grp + 4 + + 0 + GTK_SHADOW_ETCHED_IN + + 0 + False + True + + + + GtkVBox + vbox37 + 2 + False + 2 + + + GtkRadioButton + cfg_emu_resid_fast + Fastest and also worst sounding sampling method, simply picks nearest neighbouring sample. + True + + False + True + samplingtype + + 0 + False + False + + + + + GtkRadioButton + cfg_emu_resid_int + Uses linear interpolation between samples, yielding higher audio quality with less sampling noise. + True + + False + True + samplingtype + + 0 + False + False + + + + + GtkRadioButton + cfg_emu_resid_res_fast + True + + False + True + samplingtype + + 0 + False + False + + + + + GtkRadioButton + cfg_emu_resid_res_int + True + + False + True + samplingtype + + 0 + False + False + + + +