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

Modified Files:
        via82xx.c 
Log Message:
send ack after calling snd_pcm_period_elapsed().
this will improve the response on some boards.



Index: via82xx.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/via82xx.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -r1.33 -r1.34
--- via82xx.c   28 Feb 2003 14:29:25 -0000      1.33
+++ via82xx.c   3 Mar 2003 16:57:59 -0000       1.34
@@ -598,12 +598,12 @@
                status &= (VIA_REG_STAT_EOL|VIA_REG_STAT_FLAG);
                if (! status)
                        continue;
-               outb(status, VIADEV_REG(viadev, OFFSET_STATUS)); /* ack */
                if (viadev->substream && viadev->running) {
                        spin_unlock(&chip->reg_lock);
                        snd_pcm_period_elapsed(viadev->substream);
                        spin_lock(&chip->reg_lock);
                }
+               outb(status, VIADEV_REG(viadev, OFFSET_STATUS)); /* ack */
        }
        spin_unlock(&chip->reg_lock);
 }



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to