Last active
December 14, 2018 06:12
-
-
Save xranby/4160432 to your computer and use it in GitHub Desktop.
JOAL test for Raspberry Pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
# First install openjdk jre/jdk to get java running on the Pi | |
# For a complete list of openjdk package names options to use see: | |
# http://www.raspberrypi.org/phpBB3/viewtopic.php?f=81&t=27805 | |
sudo apt-get install openjdk-7-jre | |
# Download the gluegen-rt, joal and native armel/armhf libs for the Pi (~400kb) | |
wget http://jogamp.org/deployment/jogamp-current/jar/gluegen-rt.jar | |
wget http://jogamp.org/deployment/jogamp-current/jar/gluegen-rt-natives-linux-armv6.jar | |
wget http://jogamp.org/deployment/jogamp-current/jar/gluegen-rt-natives-linux-armv6hf.jar | |
wget http://jogamp.org/deployment/jogamp-current/jar/joal.jar | |
wget http://jogamp.org/deployment/jogamp-current/jar/joal-natives-linux-armv6.jar | |
wget http://jogamp.org/deployment/jogamp-current/jar/joal-natives-linux-armv6hf.jar | |
# Download and run JOAL demo on the Pi (~1.5Mb) | |
# For more JOAL examples visit: http://jogamp.org/joal-demos/www/ | |
wget http://jogamp.org/deployment/jogamp-current/jar/joal-test.jar | |
java -cp joal-test.jar:joal.jar:gluegen-rt.jar com.jogamp.openal.test.manual.Sound3DTest | |
java -cp joal-test.jar:joal.jar:gluegen-rt.jar com.jogamp.openal.test.manual.OpenALTest | |
wget https://jogamp.org/deployment/jogamp-current/joal-demos/jar/joal-demos.jar | |
java -cp joal-demos.jar:joal.jar:gluegen-rt.jar demos.devmaster.lesson5.SourcesSharingBuffers |
Source for the com.jogamp.openal.Sound3DTest:
https://github.com/JogAmp/joal/blob/master/src/test/com/jogamp/openal/test/manual/Sound3DTest.java
Source and tutorial for the demos.devmaster.lesson5.SourcesSharingBuffers demo:
https://github.com/JogAmp/joal-demos/blob/master/src/java/demos/devmaster/lesson5/SourcesSharingBuffers.java
http://jogamp.org/joal-demos/www/devmaster/lesson5.html - Tutorial
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For more JOAL examples visit: http://jogamp.org/joal-demos/www/
http://jogamp.org
JOAL Support forum is available at: http://forum.jogamp.org