Update of /cvsroot/alsa/alsa-kernel/pci/emu10k1
In directory sc8-pr-cvs1:/tmp/cvs-serv24556

Modified Files:
        emu10k1_main.c 
Log Message:
<[EMAIL PROTECTED]>
Center is initialized to analog to prevent noise at startup (SB Live)


Index: emu10k1_main.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/emu10k1/emu10k1_main.c,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- emu10k1_main.c      20 Nov 2003 13:22:20 -0000      1.27
+++ emu10k1_main.c      10 Dec 2003 09:33:14 -0000      1.28
@@ -239,14 +239,9 @@
                }
        }
        
-       if (!emu->APS) {        /* enable analog output */
-               if (!emu->audigy) {
-                       unsigned int reg = inl(emu->port + HCFG);
-                       outl(reg | HCFG_GPOUT0, emu->port + HCFG);
-               } else {
-                       unsigned int reg = inl(emu->port + A_IOCFG);
-                       outl(reg | A_IOCFG_GPOUT0, emu->port + A_IOCFG);
-               }
+       if (emu->audigy) {      /* enable analog output */
+               unsigned int reg = inl(emu->port + A_IOCFG);
+               outl(reg | A_IOCFG_GPOUT0, emu->port + A_IOCFG);
        }
 
        /*



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to