Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: "Piotr Tajduś" <aegis@op.pl>
To: alsa-devel@alsa-project.org
Subject: ld10k1 equalizer patch
Date: Sat, 31 Dec 2005 18:23:29 +0100	[thread overview]
Message-ID: <43B6BE91.80705@op.pl> (raw)
In-Reply-To: <s5hirtzft0h.wl%tiwai@suse.de>

[-- Attachment #1: Type: text/plain, Size: 196 bytes --]

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.

Piotr Tajduś



[-- Attachment #2: eq10.patch --]
[-- Type: text/x-patch, Size: 1081 bytes --]

diff -N -u -r ld10k1.orig/setup/effects/eq10.asm ld10k1/setup/effects/eq10.asm
--- ld10k1.orig/setup/effects/eq10.asm	2005-12-31 18:00:13.000000000 +0100
+++ ld10k1/setup/effects/eq10.asm	2005-12-31 18:16:24.000000000 +0100
@@ -42,7 +42,7 @@
 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 @@
 
 ;;; 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	toutrr,inrr,dlx3,dly3
 	IIR	toutc,inc,dlx4,dly4
 	IIR	toutlfe,inlfe,dlx5,dly5
-;	macmv	toutlfe,inlfe,C_0,C_0
 
 	end
-
-

  reply	other threads:[~2005-12-31 17:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-02 19:19 Equalizer for emu10k1 Piotr Tajduś
2005-12-05 19:05 ` Takashi Iwai
2005-12-07 20:26   ` Piotr Tajduś
2005-12-08 16:33     ` Takashi Iwai
2005-12-31 17:23       ` Piotr Tajduś [this message]
2006-01-02 14:33         ` ld10k1 equalizer patch Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43B6BE91.80705@op.pl \
    --to=aegis@op.pl \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox