java - WaveData LWJGL3 -
i trying load sound in lwjgl 3 according tutorial ( http://wiki.lwjgl.org/index.php?title=openal_tutorial_1_-_single_static_source ), found problem class wavedata, in older version of lwjgl 2.x, not there. there cant compile code. there other way how load sounds in lwjgl using openal...
in lwjgl 2 used use paulscode sound system ( http://www.paulscode.com/forum/index.php?topic=4.0 ) not sure if works in newer version of lwjgl 3. thank answer :)
and if there tutorial around sound in lwjgl3, please include link in answer, tried googling theese tutorials ages failed.
in forum post stated:
lwjgl3 doesn't include wavedata lwjgl2 still works same in lwjgl3, grab lwjgl2 source code , include in project.
so should safe copy old wavedata class , use lwjgl3, because loading algorithm , openal internals have not been changed.
recently, lwjgl included bindings stb library. provides set of utility functions different things, image loading, font loading , perlin noise calculation. has ogg vorbis decoder. warned however, that, opengl , glfw, stb provides static functions instead of object-oriented interface. not optimized.
Comments
Post a Comment