General > Other Support

SoundEngine loop stream sound

(1/7) > >>

CreativeMD:
Hey,
I'm having issues to loop a streaming source using the sound engine. I'm currently programming a mod for minecraft. Somehow the sound will not be repeat, but instead end after playing once. I'm not sure if that's an issue from minecraft or a bug of the sound engine. I tried to find out the cause of it, but unfortunately couldn't find anything.
So maybe you can help out?

In Regards
CreativeMD

Paul:
I can take a look to see if there is a bug.  Is the audio file available somewhere for download?

CreativeMD:
Here is one example: https://www.dropbox.com/s/d6ww6niprdfqzfi/light-wind.ogg?dl=1

Paul:
Thanks, got it.  Which library and codec plugins are you using?

CreativeMD:
Found it:

--- Code: ---SoundSystemConfig.addLibrary(LibraryLWJGLOpenAL.class);
SoundSystemConfig.setCodec("ogg", CodecJOrbis.class);
--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version