Re: alGenEffects() Not Available?
Posted by Xerxes Rånby on Nov 19, 2012; 3:25pm
URL: https://forum.jogamp.org/alGenEffects-Not-Available-tp4027019p4027057.html
I tested your code on a Linux Ubuntu machine running OpenAL soft and here it was working flawlessly, the sample was played back at a slower playback (pitch 0.8) speed with a soft-echo effect like if played in a cave.
The only oddity i saw was a pulseaudio warning that came from the OpenAL soft library. I will have to look at that.
Did you run this code on a Windows or a MacOS X machine? If so there might be limited functionality in the OpenAL library’s we currently bundle for one of these two platforms.
xranby@xranby-ESPRIMO-P7935:~/jogamp-all-platforms$ java -cp jar/joal.jar:jar/gluegen-rt.jar:. joalplaywavwitheffects/JOALPlayWavWithEffects
AL lib: pulseaudio.c:331: PulseAudio returned minreq > tlength/2; expect break up
generated 1 effects slot
generated 1 effect
Successfully loaded effect into effect slot
Press a key and hit ENTER:
'p' to play, 's' to stop, 'h' to pause and 'q' to quit
p
Press a key and hit ENTER:
'p' to play, 's' to stop, 'h' to pause and 'q' to quit