Ha, figured that would suck in some Linux people.
I have a problem I’m passing on from someone here at work. They need to record audio from the sound card and then later play it back. They have got the record working, but no matter what they do, no java audio comes out. Here is what one of the developers wrote me -
Red Hat 6.2 (kernel 2.2.16)
Java 1.4.2
Sound driver: cmpci
Run-of-the-mill PCs
Problem:
Java cannot play sounds of any kind. It doesn’t matter if I use JMF, Java Sound API, or applet.AudioClip. I can record sounds in Java (.wav format) using Sun’s demo code and play them with native tools. This happens whether I boot into console mode or all the way into KDE. Also, running dmesg shows multiple lines with the following message:
“cmpci: dma timed out??”
I sat down with him before and we tried different things, but nothing would work. The easy applet AudioClip didn’t even play. They can’t upgrade the linux distro, IIRC, so thats not an option. They can swap out the audio drivers and sound card if they have to.
I am no where near gifted enough to trouble shoot this, that and my project manager would prefer I work on his stuff.
Does anyone have any ideas?
I’ll act as the relay for this, unless it gets too specific, wherein I’ll let him know he needs to get an acct here and start conversing directly.
Regards,
Dr. A>