Skip to contentSkip to conversation

emu10k1: minor send routing cleanup

PATCH [email protected] 2 participants 4 messages Nov 21, 2004 – Nov 22, 2004

lore
Share & tools
lore
#0 lore raw
Quoted 7 lines · Lee Revell
Quoted 5 lines · Takashi Iwai
Quoted 4 lines

Use snd_emu10k1_compose_audigy_fxrt* macro where appropriate.  Also add a few comments to explain send routing structure.

Quoted 9 lines
Quoted 2 lines

Thanks, applied to CVS.

Sorry, please revert this one.  It disables the right channel.  The macro must not be correct.

Lee

Use the attached patch to fix this problem.

emu10k1.h renamed from emu10k1.h.org +2 -2
@@ -840,10 +840,10 @@
 ((route[0] | (route[1] << 4) | (route[2] << 8) | (route[3] << 12)) << 16)
 
 #define snd_emu10k1_compose_audigy_fxrt1(route) \
-(((unsigned int)route[0] | ((unsigned int)route[1] << 8) | ((unsigned int)route[2] << 16) | ((unsigned int)route[3] << 12)) << 24)
+((unsigned int)route[0] | ((unsigned int)route[1] << 8) | ((unsigned int)route[2] << 16) | ((unsigned int)route[3] << 24))
 
 #define snd_emu10k1_compose_audigy_fxrt2(route) \
-(((unsigned int)route[4] | ((unsigned int)route[5] << 8) | ((unsigned int)route[6] << 16) | ((unsigned int)route[7] << 12)) << 24)
+((unsigned int)route[4] | ((unsigned int)route[5] << 8) | ((unsigned int)route[6] << 16) | ((unsigned int)route[7] << 24))
 
 typedef struct snd_emu10k1_memblk {
 	snd_util_memblk_t mem;
#1 lore raw

At Sun, 21 Nov 2004 01:21:25 +0000,

Quoted 14 lines · [email protected] wrote:

[1 <text/plain; iso-8859-1 (quoted-printable)>]

Quoted 11 lines · Lee Revell
Quoted 7 lines · Takashi Iwai
Quoted 4 lines

Use snd_emu10k1_compose_audigy_fxrt* macro where appropriate.  Also add a few comments to explain send routing structure.

Thanks, applied to CVS.

Quoted 7 lines
Quoted 5 lines

Sorry, please revert this one.  It disables the right channel.  The macro must not be correct.

Lee

Use the attached patch to fix this problem.

Could you give the summary and signed-off-by lines, please?

thanks,

Takashi

Quoted 6 lines

[2 emu10k1.h.diff <text/x-diff; iso-8859-1 (7bit)>]

emu10k1.h renamed from emu10k1.h.org +0 -0
@@ -840,10 +840,10 @@
 ((route[0] | (route[1] << 4) | (route[2] << 8) | (route[3] << 12)) << 16)
 

emu10k1.h line 849

Quoted 10 lines
emu10k1.h renamed from emu10k1.h.org +2 -2
 #define snd_emu10k1_compose_audigy_fxrt1(route) \
-(((unsigned int)route[0] | ((unsigned int)route[1] << 8) | ((unsigned int)route[2] << 16) | ((unsigned int)route[3] << 12)) << 24)
+((unsigned int)route[0] | ((unsigned int)route[1] << 8) | ((unsigned int)route[2] << 16) | ((unsigned int)route[3] << 24))
 
 #define snd_emu10k1_compose_audigy_fxrt2(route) \
-(((unsigned int)route[4] | ((unsigned int)route[5] << 8) | ((unsigned int)route[6] << 16) | ((unsigned int)route[7] << 12)) << 24)
+((unsigned int)route[4] | ((unsigned int)route[5] << 8) | ((unsigned int)route[6] << 16) | ((unsigned int)route[7] << 24))
 
 typedef struct snd_emu10k1_memblk {
 	snd_util_memblk_t mem;

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/

#2 lore raw
Quoted 21 lines · Takashi Iwai

At Sun, 21 Nov 2004 01:21:25 +0000,

Quoted 18 lines · [email protected] wrote:

[1 <text/plain; iso-8859-1 (quoted-printable)>]

Quoted 15 lines · Lee Revell
Quoted 7 lines · Takashi Iwai
Quoted 4 lines

Use snd_emu10k1_compose_audigy_fxrt* macro where appropriate. Also add a few comments to explain send routing structure.

Thanks, applied to CVS.

Sorry, please revert this one. It disables the right channel. The macro must not be correct.

Quoted 7 lines
Quoted 4 lines
Quoted 2 lines

Lee

Use the attached patch to fix this problem.

Could you give the summary and signed-off-by lines, please?

Summary: Fixes the "It disables the right channel" bug.
Signed-off-by: James Courtier-Dutton

Quoted 17 lines

thanks,

Takashi

Quoted 10 lines

[2 emu10k1.h.diff <text/x-diff; iso-8859-1 (7bit)>]

emu10k1.h renamed from emu10k1.h.org +1 -1
@@ -840,10 +840,10 @@
 ((route[0] | (route[1] << 4) | (route[2] << 8) | (route[3] << 12)) << 16)
 
 #define snd_emu10k1_compose_audigy_fxrt1(route) \
-(((unsigned int)route[0] | ((unsigned int)route[1] << 8) | ((unsigned int)route[2] << 16) | ((unsigned int)route[3] << 12)) << 24)
+((unsigned int)route[0] | ((unsigned int)route[1] << 8) | ((unsigned int)route[2] << 16) | ((unsigned int)route[3] << 24))
 
Quoted 9 lines

emu10k1.h line 849

Quoted 6 lines
emu10k1.h renamed from emu10k1.h.org +1 -1
 #define snd_emu10k1_compose_audigy_fxrt2(route) \
-(((unsigned int)route[4] | ((unsigned int)route[5] << 8) | ((unsigned int)route[6] << 16) | ((unsigned int)route[7] << 12)) << 24)
+((unsigned int)route[4] | ((unsigned int)route[5] << 8) | ((unsigned int)route[6] << 16) | ((unsigned int)route[7] << 24))
 
 typedef struct snd_emu10k1_memblk {
 	snd_util_memblk_t mem;

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/

#3 lore raw

At Mon, 22 Nov 2004 18:30:55 +0000,

Quoted 26 lines · James Courtier-Dutton
Quoted 24 lines · Takashi Iwai

At Sun, 21 Nov 2004 01:21:25 +0000,

Quoted 21 lines · [email protected] wrote:

[1 <text/plain; iso-8859-1 (quoted-printable)>]

Quoted 17 lines · Lee Revell
Quoted 7 lines · Takashi Iwai
Quoted 4 lines

Use snd_emu10k1_compose_audigy_fxrt* macro where appropriate. Also add a few comments to explain send routing structure.

Thanks, applied to CVS.

Sorry, please revert this one. It disables the right channel. The macro must not be correct.

Lee

Quoted 7 lines
Quoted 4 lines
Quoted 1 line

Use the attached patch to fix this problem.

Could you give the summary and signed-off-by lines, please?

Summary: Fixes the "It disables the right channel" bug.
Signed-off-by: James Courtier-Dutton

Ok, applied now.
Thanks.

Takashi

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/