| [AD] ALSA driver updated |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
... for ALSA 0.5.x, after several months of ``someone else do it''. Also attached is a fix for a bug that theoretically could crop up in the OSS driver. This might be related to the problem Vincent had with the datafile loading failing (EINTR). -- tjaden@xxxxxxxxxx - http://www.psynet.net/tjaden/ To get something done, a committee should consist of no more than three persons, two of them absent. (or someone who's finished his mid-years :)
Attachment:
alsaupd.diff.gz
Description: application/gunzip
860c860,862 < Unix only: fragment (buffer) size for the ALSA sound driver system. --- > alsa_fragsize = x<br> > Unix only: number of ALSA driver fragments (buffer) and size of each > buffer in samples.
--- uoss.c.old Thu Jun 15 16:17:17 2000
+++ uoss.c Thu Jun 15 16:17:33 2000
@@ -166,9 +166,10 @@
*/
static void oss_update(unsigned long interval)
{
- int i;
+ int i, e;
audio_buf_info bufinfo;
+ e = errno;
DISABLE();
if (ioctl(oss_fd, SNDCTL_DSP_GETOSPACE, &bufinfo) != -1) {
@@ -180,6 +181,7 @@
}
ENABLE();
+ errno = e;
}
| Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |