[Gambas-user] R: OpenAL (gb.openal) example code and problem loading .wav files

2015-08-21 Thread Ru Vuott
the function to load a .wav file into an audio buffer in order to play it. The latter doesn't work, however. The alure class seems to be similar to glu in that it's a high-level helper class to make common functions easy, such as loading sound files directly. This line should load the

[Gambas-user] R: OpenAL (gb.openal) example code and problem loading .wav files

2015-08-21 Thread Ru Vuott
Hello Kevin, you did a good work. Well, in your code I replaced 'setting up listener' code with this: ' Set up listener. Al.Listenerfv(Al.POSITION, [0, 0, 0]) Al.Listenerfv(Al.VELOCITY, [0, 0, 0]) Al.Listenerfv(Al.ORIENTATION, [0, 0, -1]) and the wav file plays (but NOT sine wave and wav