From af426c53f818a8dac39e43b441dde261aa360536 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Tue, 18 Jun 2013 19:48:51 +0200 Subject: Add optional JOAL dependency, enabling JOAL usage for our 'av' package. Note: May be relocated to external project later! Assumption: gluegen/ joal/ jogl/ For OpenAL / JOAL code: - use the package jogamp.opengl.openal (like jogamp.opengl.android) - will be build _before_ the other 2nd pass java files - do not expose OpenAL/JOAL APIs, if being used by other packages, since only this package is being compiled w/ JOAL jar files! --- .../classes/jogamp/opengl/openal/av/ALDummyUsage.java | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/jogl/classes/jogamp/opengl/openal/av/ALDummyUsage.java (limited to 'src') diff --git a/src/jogl/classes/jogamp/opengl/openal/av/ALDummyUsage.java b/src/jogl/classes/jogamp/opengl/openal/av/ALDummyUsage.java new file mode 100644 index 000000000..69223d0b9 --- /dev/null +++ b/src/jogl/classes/jogamp/opengl/openal/av/ALDummyUsage.java @@ -0,0 +1,19 @@ +package jogamp.opengl.openal.av; + +import jogamp.opengl.util.av.impl.FFMPEGMediaPlayer; + +import com.jogamp.openal.AL; +import com.jogamp.openal.JoalVersion; + +/** + * Demo JOAL usage w/ av dependency, i.e. FFMPEGMediaPlayer .. + */ +public class ALDummyUsage { + static AL al; + static FFMPEGMediaPlayer.PixelFormat pfmt; + + public static void main(String args[]) { + System.err.println("JOGL> Hello JOAL"); + System.err.println("JOAL: "+JoalVersion.getInstance().toString()); + } +} -- cgit v1.2.3