All compositions are ready, two for each climate zone. So now I'm back to coding, at the moment trying to add background music in game playback to the AudioSystem class and its dependencies. It's going nice, but a serious problem with it is still blocking the road. Playback and change of tracks by zone is working well, but after a while of walking around background music doesn't play at all. Seems like a problem with the underlying library openal + jorbis. I will investigate it further and after that I'll try to finish the treasure chest codes, getting close to a long awaited release. :)
UPDATE: It's getting better, seems like I could identify the issue: OpenAL Sources (practically sound 'channels') are not freed/reused correctly if I try streamed and preloaded content playback on reused Sources after playing the other way on it before. I've modified JME's openal audio system to separate them. I'm testing it further, so far seems to be better now!
Monday, 12 January 2009
Back To Coding - AudioSystem
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment