[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: Bug#1104: kmidi doesn't work with a Sound Blaster 64/PCI
From: Martin Weghofer <e9427483 () student ! tuwien ! ac ! at>
Date: 1999-03-30 13:12:19
[Download RAW message or body]
Package: kmidi
Version: 1.1
kmidi doesn't work with a Sound Blaster 64/PCI correctly,
it sounds stammering.
I have modified the Timidity 0.2i-patch for PCI soundcards,
from http://www.ife.ee.ethz.ch/~sailer/linux/pciaudio.html,
for kmidi.
I am using Debian 2.1, kernel version 2.2.5
and KDE 1.1
--
Bye
Weg.
["kmidi.diff" (text/x-c)]
--- linux_a.c Sat May 30 05:03:39 1998
+++ linux_a.c-patch Tue Mar 30 14:56:25 1999
@@ -87,7 +87,7 @@
return -1;
}
- fcntl(fd, F_SETFL, O_NDELAY);
+ fcntl(fd, F_SETFL, fcntl(fd, F_GETFL, 0) & ~O_NDELAY);
/* They can't mean these */
@@ -158,9 +158,9 @@
}
if (tmp != dpm.rate)
{
- dpm.rate=tmp;
ctl->cmsg(CMSG_WARNING, VERB_VERBOSE,
- "Output rate adjusted to %d Hz", dpm.rate);
+ "Output rate adjusted to %d Hz (requested %d Hz)", tmp, dpm.rate);
+ dpm.rate=tmp;
warnings=1;
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic