Update of /cvsroot/alsa/alsa-driver/drivers/vx
In directory sc8-pr-cvs1:/tmp/cvs-serv10988
Modified Files:
vx_pcm.c
Log Message:
Don't allow no-xrun mode, the driver hang-up the machine
Index: vx_pcm.c
===================================================================
RCS file: /cvsroot/alsa/alsa-driver/drivers/vx/vx_pcm.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- vx_pcm.c 25 Feb 2003 15:09:26 -0000 1.7
+++ vx_pcm.c 11 Mar 2003 18:56:37 -0000 1.8
@@ -764,6 +764,10 @@
if (chip->chip_status & VX_STAT_IS_STALE)
return -EBUSY;
+
+ /* FIXME: dmix plugin requires no-xrun mode */
+ if (subs->runtime->stop_threshold >= subs->runtime->boundary)
+ return -EIO;
switch (cmd) {
case SNDRV_PCM_TRIGGER_START:
-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog