Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (844)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
   Home   Help   Search   Login   Register   
  Show Posts
Pages: [1]
1  Java Game APIs & Engines / Java Sound & OpenAL / Hepl with OGG in JOAL on: 2010-07-21 06:29:16
I have read lessons in official joal portal, but in 8 lesson link to source classes doesn't work. Please give working code exaple with OGG loading and playing in JOAL. Thanks in advance!
2  Java Game APIs & Engines / Java Sound & OpenAL / Re: Problem with JOAL on: 2010-07-21 06:27:06
Problem is solved. The reason was in multithreading. Thread that inialize audio player not managed to load sound. And the thread in wich this player is using load more fast. The solution is to wait until player thread will be loaded.
3  Java Game APIs & Engines / Java Sound & OpenAL / Problem with JOAL on: 2010-07-19 18:29:01
I use Joal for sound in my game. It works good on my PC, but when i start game on other computers I always has bug with sound stopping. For example helper npc tell something in the begin of the level. And when player click, dialog breakes and appear some sound.
But on another computers, helper stop talking, but new sound doesnt play. I have tried various openAl drivers but problem still the same.
To play all sounds i used one source, and change buffer of this this source when need to play next sound.

public void play(SoundObject sound) {
  if (audioLoop != null) {

In this code used wraped OpenAl function, but i have realised this code directly using Joal function too. But nothing have changed.
May be i use wrong approach?Is better to create separate source on each sound?May be better to play every sound in new Thread, and stop them?I don't understand why the same code works different on computers.Help me please. (Sorry, if I have some mistakes in my English)...
P.S If somebody used Java Media Framework tell me, its possible to use it in game without any installiation?
Pages: [1]
EgonOlsen (75 views)
2018-06-10 19:43:48

EgonOlsen (56 views)
2018-06-10 19:43:44

EgonOlsen (76 views)
2018-06-10 19:43:20

DesertCoockie (256 views)
2018-05-13 18:23:11

nelsongames (156 views)
2018-04-24 18:15:36

nelsongames (155 views)
2018-04-24 18:14:32

ivj94 (896 views)
2018-03-24 14:47:39

ivj94 (157 views)
2018-03-24 14:46:31

ivj94 (809 views)
2018-03-24 14:43:53

Solater (173 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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!