• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

A good java audio library

 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm sure many of us immediately think of "OpenAL" when I say a "good audio library", but that's the problem. OpenAL has a problem with some CREATIVE SOUNDBLASTER soundcards due to poorly written drivers, which cause the game to freeze when loading audio data. My new computer just happens to be a victim of CREATIVE's bad programmers.

Yes, I've tryed the Java Sound API, but compared to OpenAL, it relatively more complicated and a LOT slower (and honestly i still can't figure out how to seek back in a piece of streamed music without reloading the whole AudioInputStream).

Is there a third alternative for game sounds?
 
Ranch Hand
Posts: 433
Netbeans IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
If you have no problems using JNI have a look here where you can find wrappers for BASS and FMOD. (The link to the FMOD-wrapper seems to be broken at the moment but you can still find it in the google cache).
Can't say anything about the quality of the wrappers because I never used them. But I did use FMOD long time ago once and it's definitely worth a try.
 
Daniel Gen Li
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
With JNI, I'm automaticly assuming that it won't be cross-platform (please correct me if I'm wrong). I wanted my game to be cross-platform playable...

Also I don't really know much of JNI at all, can I still make my game cross-platform even if I use JNI?
 
Rancher
Posts: 1337
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Daniel Gen Li wrote:Also I don't really know much of JNI at all, can I still make my game cross-platform even if I use JNI?


Yes. Java WebStart (a.k.a JNLP) provides for deployment of cross-platform native code.
 
Daniel Gen Li
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Apparently the new beta version of LWJGL has support for FMOD. I'm going to look into that.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic