Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (515)
Games in Android Showcase (122)
games submitted by our members
Games in WIP (577)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Ok Linux users - Proove your OS!  (Read 1281 times)
0 Members and 1 Guest are viewing this topic.
Offline dranonymous

Junior Duke




Hoping to become a Java Titan someday!


« Posted 2004-09-10 12:17:31 »

Ha, figured that would suck in some Linux people. Smiley

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.  Smiley

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>
Offline mumart

Junior Duke


Medals: 1
Projects: 1


IBXM Java Music Player


« Reply #1 - Posted 2004-09-11 19:04:13 »

The DMA messages suggest that the driver isn't working.  

Make sure you have the latest drivers by installing the most recent kernel package. Have a look into apt-rpm, which can be used to automatically update your system.

Redhat 6.2 is quite old, you should consider updating to something like fedora if possible.
Offline mumart

Junior Duke


Medals: 1
Projects: 1


IBXM Java Music Player


« Reply #2 - Posted 2004-09-11 19:05:44 »

If you need it working as quickly as possible, just get a soundblaster live and drop it in. They work well with linux.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline princec

JGO Kernel


Medals: 409
Projects: 3
Exp: 16 years


Eh? Who? What? ... Me?


« Reply #3 - Posted 2004-09-13 13:43:20 »

Does the sound in Alien Flux work?

Cas Smiley

Offline dranonymous

Junior Duke




Hoping to become a Java Titan someday!


« Reply #4 - Posted 2004-09-13 17:20:41 »

I'm going to have him try alien-flux today.

They can't upgrade the kernel because of some other requirements they have.  How difficult would it be to upgrade the audio portion (drivers, etc)?

I'll find out if they are using an actual sound blaster or a knock-off.

Thanks for the help everyone!

Dr. A>
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

TehJavaDev (31 views)
2014-10-27 03:28:38

TehJavaDev (26 views)
2014-10-27 03:27:51

DarkCart (40 views)
2014-10-26 19:37:11

Luminem (21 views)
2014-10-26 10:17:50

Luminem (25 views)
2014-10-26 10:14:04

theagentd (31 views)
2014-10-25 15:46:29

Longarmx (61 views)
2014-10-17 03:59:02

Norakomi (57 views)
2014-10-16 15:22:06

Norakomi (46 views)
2014-10-16 15:20:20

lcass (43 views)
2014-10-15 16:18:58
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!