From: Takashi Iwai Date: Mon, 2 Jan 2006 14:28:40 +0000 (+0000) Subject: ld10k1 - Fix eq10 patch for SB Live X-Git-Tag: v1.0.11rc3~5 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=26247b542250f9bf920c5d00b7edd2905f2a9386;p=alsa-tools.git ld10k1 - Fix eq10 patch for SB Live From: Piotr Tajdus There were problems with EQ10 on Sound Blaster (caused by ACCUM or macmv instruction, i am not sure), so i made some changes. Now equalizer should work also with SB Live. --- diff --git a/ld10k1/setup/effects/eq10.asm b/ld10k1/setup/effects/eq10.asm index 68f5504..8cbd2f6 100644 --- a/ld10k1/setup/effects/eq10.asm +++ b/ld10k1/setup/effects/eq10.asm @@ -42,7 +42,7 @@ toutc equ inc inlfe io toutlfe equ inlfe -Equalizer control 0,0,#1 +Equalizer control #0,0,#1 F0_31Hz control #0.5,0,#1 F1_62Hz control #0.5,0,#1 F2_125Hz control #0.5,0,#1 @@ -75,12 +75,12 @@ dlx5 sta 0 0 ;;; Band Pass Filter Macro: BPF macro OUT , IN , DELAY , DLXCB , COEF , GAIN - macs1 ACCUM,C_0,COEF+1,DLXCB+1 - macs ACCUM,ACCUM,COEF+1,IN - macs ACCUM,ACCUM,COEF+2,DELAY - macs1 ACCUM,ACCUM,COEF,DELAY+1 - macmv DELAY+1,DELAY,C_0,C_0 - macints DELAY,C_0,ACCUM,sco + macs1 tmp2,C_0,COEF+1,DLXCB+1 + macs tmp2,tmp2,COEF+1,IN + macs tmp2,tmp2,COEF+2,DELAY + macs1 tmp2,tmp2,COEF,DELAY+1 + macs DELAY+1,DELAY,C_0,C_0 + macints DELAY,C_0,tmp2,sco macs OUT,OUT,DELAY,GAIN endm @@ -109,8 +109,5 @@ IIR macro OUT, IN , DLXC, DLYC IIR toutrr,inrr,dlx3,dly3 IIR toutc,inc,dlx4,dly4 IIR toutlfe,inlfe,dlx5,dly5 -; macmv toutlfe,inlfe,C_0,C_0 end - -