From 6d75977b13fede33db381324c610561c6e723a8b Mon Sep 17 00:00:00 2001 From: notaz Date: Wed, 4 Jul 2012 18:25:11 +0300 Subject: spu: remove all threading code it is broken for a while now, and I have no intention to fix it. --- frontend/main.c | 2 -- frontend/menu.c | 4 ---- 2 files changed, 6 deletions(-) (limited to 'frontend') diff --git a/frontend/main.c b/frontend/main.c index 8df9036..e072cde 100644 --- a/frontend/main.c +++ b/frontend/main.c @@ -38,7 +38,6 @@ extern int iUseReverb; extern int iUseInterpolation; extern int iXAPitch; extern int iSPUIRQWait; -extern int iUseTimer; extern int iVolume; int ready_to_go; @@ -159,7 +158,6 @@ void emu_set_default_config(void) iUseInterpolation = 1; iXAPitch = 0; iSPUIRQWait = 1; - iUseTimer = 2; iVolume = 768; #ifndef __ARM_ARCH_7A__ /* XXX */ iUseReverb = 0; diff --git a/frontend/menu.c b/frontend/menu.c index 7cdfe39..866c2b4 100644 --- a/frontend/menu.c +++ b/frontend/menu.c @@ -107,7 +107,6 @@ extern int iUseReverb; extern int iUseInterpolation; extern int iXAPitch; extern int iSPUIRQWait; -extern int iUseTimer; extern int iVolume; static const char *bioses[24]; @@ -309,7 +308,6 @@ static const struct { CE_INTVAL_V(iXAPitch, 3), CE_INTVAL_V(iUseInterpolation, 3), CE_INTVAL_V(iSPUIRQWait, 3), - CE_INTVAL_V(iUseTimer, 3), CE_INTVAL(warned_about_bios), CE_INTVAL(in_evdev_allow_abs_only), CE_INTVAL(volume_boost), @@ -1216,7 +1214,6 @@ static int menu_loop_plugin_gpu_peopsgl(int id, int keys) static const char *men_spu_interp[] = { "None", "Simple", "Gaussian", "Cubic", NULL }; static const char h_spu_volboost[] = "Large values cause distortion"; static const char h_spu_irq_wait[] = "Wait for CPU (recommended set to ON)"; -static const char h_spu_thread[] = "Run sound emulation in main thread (recommended)"; static menu_entry e_menu_plugin_spu[] = { @@ -1225,7 +1222,6 @@ static menu_entry e_menu_plugin_spu[] = mee_enum ("Interpolation", 0, iUseInterpolation, men_spu_interp), mee_onoff ("Adjust XA pitch", 0, iXAPitch, 1), mee_onoff_h ("SPU IRQ Wait", 0, iSPUIRQWait, 1, h_spu_irq_wait), - mee_onoff_h ("Sound in main thread", 0, iUseTimer, 2, h_spu_thread), mee_end, }; -- cgit v1.2.3