Skip to contentSkip to conversation

emu10k1: rear mono played on all exept rear

PATCH Mikael Magnusson 3 participants 5 messages Feb 16, 2005 Kbuild

lore
Share & tools
lore
#0 lore raw

I discovered a bug in EMU10K1.pcm.rear.0 in EMU10K1.conf. It sends rear mono output to FX 0 and 1 instead of FX 2 and 3!

/Mikael Magnusson

usr/share/alsa/cards/EMU10K1.conf 2005-02-16 11:56:24.000000000 +0100 renamed from alsa/alsa-lib/src/conf/cards/EMU10K1.conf 2004-07-13 19:32:18.000000000 +0200 +1 -1
@@ -41,7 +41,7 @@
                                name "EMU10K1 PCM Send Volume"
                                index { @func private_pcm_subdevice }
                                lock true
-                               value [ 255 255 0 0 0 0 255 0 0 0 0 255 ]
+                               value [ 0 0 255 255 0 0 255 0 0 0 0 255 ]
                        }
                ]
        }

-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#1 lore raw
Quoted 10 lines · Mikael Magnusson

I discovered a bug in EMU10K1.pcm.rear.0 in EMU10K1.conf. It sends rear mono output to FX 0 and 1 instead of FX 2 and 3!

/Mikael Magnusson

--- cvs/alsa/alsa-lib/src/conf/cards/EMU10K1.conf 2004-07-13
19:32:18.000000000 +0200
+++ /usr/share/alsa/cards/EMU10K1.conf 2005-02-16 11:56:24.000000000 +0100

usr/share/alsa/cards/EMU10K1.conf 2005-02-16 11:56:24.000000000 +0100 line 47

Quoted 8 lines
usr/share/alsa/cards/EMU10K1.conf 2005-02-16 11:56:24.000000000 +0100 renamed from alsa/alsa-lib/src/conf/cards/EMU10K1.conf 2004-07-13 19:32:18.000000000 +0200 +1 -1
@@ -41,7 +41,7 @@
                                 name "EMU10K1 PCM Send Volume"
                                 index { @func private_pcm_subdevice }
                                 lock true
-                               value [ 255 255 0 0 0 0 255 0 0 0 0 255 ]
+                               value [ 0 0 255 255 0 0 255 0 0 0 0 255 ]
                         }
                 ]
         }

This seems wrong to me. Isn't the correct fix to do this:

{
      name "EMU10K1 PCM Send Volume"
      index { @func private_pcm_subdevice }
      lock true
      value [ 255 255 0 0 255 0 0 0 0 255 0 0 ]
}
{
      name "EMU10K1 PCM Send Routing"
      index { @func private_pcm_subdevice }
      lock true
      value [ 2 3 0 0 2 3 0 0 2 3 0 0 ]
}

The current config relies on the 3rd and 4th FX sends being set to FX 2 and 3. It seems better to state this explicitly.

Lee

-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#2 lore raw
Quoted 36 lines · Lee Revell
Quoted 9 lines · Mikael Magnusson

I discovered a bug in EMU10K1.pcm.rear.0 in EMU10K1.conf. It sends rear mono output to FX 0 and 1 instead of FX 2 and 3!

/Mikael Magnusson

--- cvs/alsa/alsa-lib/src/conf/cards/EMU10K1.conf 2004-07-13
19:32:18.000000000 +0200
+++ /usr/share/alsa/cards/EMU10K1.conf 2005-02-16 11:56:24.000000000 +0100

usr/share/alsa/cards/EMU10K1.conf 2005-02-16 11:56:24.000000000 +0100 line 47

Quoted 8 lines
usr/share/alsa/cards/EMU10K1.conf 2005-02-16 11:56:24.000000000 +0100 renamed from alsa/alsa-lib/src/conf/cards/EMU10K1.conf 2004-07-13 19:32:18.000000000 +0200 +1 -1
@@ -41,7 +41,7 @@
                                name "EMU10K1 PCM Send Volume"
                                index { @func private_pcm_subdevice }
                                lock true
-                               value [ 255 255 0 0 0 0 255 0 0 0 0 255 ]
+                               value [ 0 0 255 255 0 0 255 0 0 0 0 255 ]
                        }
                ]
        }

This seems wrong to me. Isn't the correct fix to do this:

{
      name "EMU10K1 PCM Send Volume"
      index { @func private_pcm_subdevice }
      lock true
      value [ 255 255 0 0 255 0 0 0 0 255 0 0 ]
}
{
      name "EMU10K1 PCM Send Routing"
      index { @func private_pcm_subdevice }
      lock true
      value [ 2 3 0 0 2 3 0 0 2 3 0 0 ]
}
Quoted 5 lines

The current config relies on the 3rd and 4th FX sends being set to FX 2 and 3. It seems better to state this explicitly.

Lee

Maybe, but it isn't explicit in Audigy.conf, Audigy2.conf either.

/Mikael Magnusson

-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#3 lore raw
In reply to Lee Revell
Quoted 2 lines · Lee Revell

The current config relies on the 3rd and 4th FX sends being set to FX 2 and 3. It seems better to state this explicitly.

The driver does this...

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project, SUSE Labs

-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

#4 lore raw
Quoted 7 lines · Jaroslav Kysela
Quoted 2 lines · Lee Revell

The current config relies on the 3rd and 4th FX sends being set to FX 2 and 3. It seems better to state this explicitly.

The driver does this...

Right, I see. It seems a bit odd that front/rear and center/lfe are handled differently. The kX driver uses sends 1 and 2 for front/rear/center+lfe and sets sends 3 and 4 the same for all channels. There are probably advantages to both approaches.

Lee

-------------------------------------------------------
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://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click