Hi !
Featured games (85)
games approved by the League of Dukes
Games in Showcase (616)
Games in Android Showcase (173)
games submitted by our members
Games in WIP (659)
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 1451 times)
0 Members and 1 Guest are viewing this topic.
Offline dranonymous

Junior Devvie

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


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.

Dr. A>
Offline mumart

Junior Devvie

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 Devvie

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 Spiffy Duke »

Medals: 567
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 Devvie

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.

Coldstream24 (18 views)
2015-09-03 00:41:28

Andrew_3ds (29 views)
2015-09-01 19:08:10

afikri (20 views)
2015-08-31 09:30:22

afikri (26 views)
2015-08-31 09:30:07

afikri (14 views)
2015-08-31 09:27:24

afikri (17 views)
2015-08-31 09:26:40

Roquen (30 views)
2015-08-29 11:30:54

GamerC4 (38 views)
2015-08-22 20:38:50

GamerC4 (36 views)
2015-08-22 20:37:18

GamerC4 (42 views)
2015-08-22 20:37:01
HotSpot Options
by Roquen
2015-08-29 11:33:11

Rendering resources
by Roquen
2015-08-17 12:42:29

Rendering resources
by Roquen
2015-08-17 09:36:56

Rendering resources
by Roquen
2015-08-13 07:40:51

Networking Resources
by Roquen
2015-08-13 07:40:43

List of Learning Resources
by gouessej
2015-07-09 11:29:36

How Do I Expand My Game?
by bashfrog
2015-06-14 11:34:43

List of Learning Resources
by PocketCrafter7
2015-05-31 05:37:30 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‑
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!