summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Bien <[email protected]>2010-03-29 18:35:57 +0200
committerMichael Bien <[email protected]>2010-03-29 18:35:57 +0200
commit4050d93e4747b5418379319e7216af6113ea23e5 (patch)
treedb71cc08193e1f893a2f2f296930eb11f6d8897c
parent869f7899143296f70fbedb7ead9750aa2e4da172 (diff)
renamed package to com.jogamp.openal.*
-rw-r--r--README.txt2
-rwxr-xr-xmake/build.xml4
-rwxr-xr-xmake/joal-alc.cfg6
-rwxr-xr-xmake/joal-common.cfg2
-rwxr-xr-xmake/joal.cfg6
-rwxr-xr-xmake/joalversion2
-rwxr-xr-xmake/validate-properties.xml2
-rw-r--r--src/java/build.xml10
-rwxr-xr-xsrc/java/com/jogamp/openal/ALException.java (renamed from src/java/net/java/games/joal/ALException.java)2
-rw-r--r--src/java/com/jogamp/openal/ALFactory.java (renamed from src/java/net/java/games/joal/ALFactory.java)6
-rw-r--r--src/java/com/jogamp/openal/eax/EAX.java (renamed from src/java/net/java/games/joal/eax/EAX.java)2
-rw-r--r--src/java/com/jogamp/openal/eax/EAXConstants.java (renamed from src/java/net/java/games/joal/eax/EAXConstants.java)2
-rw-r--r--src/java/com/jogamp/openal/eax/EAXFactory.java (renamed from src/java/net/java/games/joal/eax/EAXFactory.java)2
-rwxr-xr-xsrc/java/com/jogamp/openal/impl/ALProcAddressLookup.java (renamed from src/java/net/java/games/joal/impl/ALProcAddressLookup.java)7
-rwxr-xr-xsrc/java/com/jogamp/openal/impl/NativeLibLoader.java (renamed from src/java/net/java/games/joal/impl/NativeLibLoader.java)2
-rw-r--r--src/java/com/jogamp/openal/sound3d/AudioSystem3D.java (renamed from src/java/net/java/games/sound3d/AudioSystem3D.java)8
-rw-r--r--src/java/com/jogamp/openal/sound3d/Buffer.java (renamed from src/java/net/java/games/sound3d/Buffer.java)4
-rw-r--r--src/java/com/jogamp/openal/sound3d/Context.java (renamed from src/java/net/java/games/sound3d/Context.java)4
-rw-r--r--src/java/com/jogamp/openal/sound3d/Device.java (renamed from src/java/net/java/games/sound3d/Device.java)4
-rw-r--r--src/java/com/jogamp/openal/sound3d/Listener.java (renamed from src/java/net/java/games/sound3d/Listener.java)4
-rw-r--r--src/java/com/jogamp/openal/sound3d/Source.java (renamed from src/java/net/java/games/sound3d/Source.java)4
-rw-r--r--src/java/com/jogamp/openal/sound3d/Vec3f.java (renamed from src/java/net/java/games/sound3d/Vec3f.java)2
-rw-r--r--src/java/com/jogamp/openal/util/ALut.java (renamed from src/java/net/java/games/joal/util/ALut.java)4
-rw-r--r--src/java/com/jogamp/openal/util/BufferUtils.java (renamed from src/java/net/java/games/joal/util/BufferUtils.java)2
-rw-r--r--src/java/com/jogamp/openal/util/WAVData.java (renamed from src/java/net/java/games/joal/util/WAVData.java)2
-rw-r--r--src/java/com/jogamp/openal/util/WAVLoader.java (renamed from src/java/net/java/games/joal/util/WAVLoader.java)4
-rw-r--r--test/build.xml2
-rw-r--r--test/src/com/jogamp/openal/ALTest.java (renamed from test/src/net/java/games/joal/ALTest.java)5
-rw-r--r--test/src/com/jogamp/openal/OpenALTest.java (renamed from test/src/OpenALTest.java)8
-rw-r--r--test/src/com/jogamp/openal/Sound3DTest.java (renamed from test/src/Sound3DTest.java)5
30 files changed, 63 insertions, 56 deletions
diff --git a/README.txt b/README.txt
index 54982f3..98ab414 100644
--- a/README.txt
+++ b/README.txt
@@ -31,7 +31,7 @@
* design, construction, operation or maintenance of any nuclear facility.
*/
-Project: net.java.games.joal.* & net.java.games.sound3d.*
+Project: com.jogamp.openal.* & com.jogamp.openal.sound3d.*
Purpose Open Source Java Bindings for OpenAL and Object-Oriented 3D sound toolkit
Author:
-- JOAL/Sound3D API Original Author
diff --git a/make/build.xml b/make/build.xml
index 402e590..71be711 100755
--- a/make/build.xml
+++ b/make/build.xml
@@ -191,8 +191,8 @@
<property name="javadoc" value="${project.root}/javadoc_public" />
<property name="javadoc.dev" value="${project.root}/javadoc_joal_dev" />
<property name="javadoc.link" value="http://java.sun.com/j2se/1.4.2/docs/api/" />
- <property name="javadoc.packagenames" value="net.java.games.joal,net.java.games.joal.util,net.java.games.sound3d" />
- <property name="javadoc.dev.packagenames" value="${javadoc.packagenames},net.java.games.joal.impl" />
+ <property name="javadoc.packagenames" value="com.jogamp.openal,com.jogamp.openal.util,com.jogamp.openal.sound3d" />
+ <property name="javadoc.dev.packagenames" value="${javadoc.packagenames},com.jogamp.openal.impl" />
<!-- Names of configuration files used during glue code generation. -->
<property name="joal.cfg" value="${config}/joal.cfg" />
diff --git a/make/joal-alc.cfg b/make/joal-alc.cfg
index 50a8fa2..8626e43 100755
--- a/make/joal-alc.cfg
+++ b/make/joal-alc.cfg
@@ -3,7 +3,7 @@ Include joal-common.cfg
Style InterfaceAndImpl
JavaClass ALC
-ImplPackage net.java.games.joal.impl
+ImplPackage com.jogamp.openal.impl
ImplJavaClass ALCImpl
Extends ALC ALCConstants
@@ -14,8 +14,8 @@ ProcAddressNameExpr LP $UPPERCASE({0})
Import java.io.UnsupportedEncodingException
Import java.util.*
-Import net.java.games.joal.*
-Import net.java.games.joal.impl.*
+Import com.jogamp.openal.*
+Import com.jogamp.openal.impl.*
# Factor out the OpenAL constants into their own interface
Ignore ^AL_.+
diff --git a/make/joal-common.cfg b/make/joal-common.cfg
index 85dba07..dab5b77 100755
--- a/make/joal-common.cfg
+++ b/make/joal-common.cfg
@@ -1,4 +1,4 @@
-Package net.java.games.joal
+Package com.jogamp.openal
# Specify output directories
HierarchicalNativeOutput false
diff --git a/make/joal.cfg b/make/joal.cfg
index eb9c874..b22de32 100755
--- a/make/joal.cfg
+++ b/make/joal.cfg
@@ -3,7 +3,7 @@ Include joal-common.cfg
Style InterfaceAndImpl
JavaClass AL
-ImplPackage net.java.games.joal.impl
+ImplPackage com.jogamp.openal.impl
ImplJavaClass ALImpl
Extends AL ALConstants
@@ -12,8 +12,8 @@ ProcAddressTableClassName ALProcAddressTable
GetProcAddressTableExpr ALProcAddressLookup.getALProcAddressTable()
ProcAddressNameExpr LP $UPPERCASE({0})
-Import net.java.games.joal.*
-Import net.java.games.joal.impl.*
+Import com.jogamp.openal.*
+Import com.jogamp.openal.impl.*
Import com.jogamp.gluegen.runtime.*
# Factor out the OpenAL constants into their own interface
diff --git a/make/joalversion b/make/joalversion
index dc78238..85b5770 100755
--- a/make/joalversion
+++ b/make/joalversion
@@ -4,5 +4,5 @@ Specification-Vendor: JogAmp.org
Implementation-Title: Java Bindings for the OpenAL API
Implementation-Version: @VERSION@
Implementation-Vendor: JogAmp.org
-Extension-Name: net.java.games.joal
+Extension-Name: com.jogamp.openal
Implementation-Vendor-Id: JogAmp.org
diff --git a/make/validate-properties.xml b/make/validate-properties.xml
index 8fc9e33..146bd4f 100755
--- a/make/validate-properties.xml
+++ b/make/validate-properties.xml
@@ -49,7 +49,7 @@
- we can not overwrite it.
-->
<target name="test.for.jogl.jar">
- <available property="jogl.jar.on.class.path" classname="net.java.games.jogl.GL" />
+ <available property="jogl.jar.on.class.path" classname="com.jogamp.opengl.GL" />
</target>
<target name="java.class.path.validate" depends="test.for.jogl.jar" if="jogl.jar.on.class.path">
<fail>
diff --git a/src/java/build.xml b/src/java/build.xml
index 44a11ae..9e11377 100644
--- a/src/java/build.xml
+++ b/src/java/build.xml
@@ -47,19 +47,19 @@
</target>
<target name="javadoc" depends="compile">
- <javadoc packagenames="net.java.games.*"
+ <javadoc packagenames="com.jogamp.openal.*"
sourcepath="."
additionalparam="-breakiterator"
windowtitle="Java Bindings for OpenAL / Sound3D Toolkit"
doctitle="Java Bindings for OpenAL / Sound3D Toolkit"
destdir="../../apidocs">
<group title = "Java Bindings for OpenAL">
- <package name="net.java.games.joal"/>
- <package name="net.java.games.joal.eax"/>
- <package name="net.java.games.joal.util"/>
+ <package name="com.jogamp.openal"/>
+ <package name="com.jogamp.openal.eax"/>
+ <package name="com.jogamp.openal.util"/>
</group>
<group title="Sound3D Toolkit">
- <package name="net.java.games.sound3d"/>
+ <package name="com.jogamp.openal.sound3d"/>
</group>
</javadoc>
</target>
diff --git a/src/java/net/java/games/joal/ALException.java b/src/java/com/jogamp/openal/ALException.java
index 75c6944..7f0dcd3 100755
--- a/src/java/net/java/games/joal/ALException.java
+++ b/src/java/com/jogamp/openal/ALException.java
@@ -31,7 +31,7 @@
* design, construction, operation or maintenance of any nuclear facility.
*/
-package net.java.games.joal;
+package com.jogamp.openal;
/** A generic exception for OpenAL errors used throughout the binding
as a substitute for {@link RuntimeException}. */
diff --git a/src/java/net/java/games/joal/ALFactory.java b/src/java/com/jogamp/openal/ALFactory.java
index 17a8c09..f58fe4b 100644
--- a/src/java/net/java/games/joal/ALFactory.java
+++ b/src/java/com/jogamp/openal/ALFactory.java
@@ -31,9 +31,11 @@
* design, construction, operation or maintenance of any nuclear facility.
*/
-package net.java.games.joal;
+package com.jogamp.openal;
-import net.java.games.joal.impl.*;
+import com.jogamp.openal.AL;
+import com.jogamp.openal.ALC;
+import com.jogamp.openal.impl.*;
/**
* This class provides factory methods for generating AL and ALC objects.
diff --git a/src/java/net/java/games/joal/eax/EAX.java b/src/java/com/jogamp/openal/eax/EAX.java
index 68cd191..93af6bc 100644
--- a/src/java/net/java/games/joal/eax/EAX.java
+++ b/src/java/com/jogamp/openal/eax/EAX.java
@@ -31,7 +31,7 @@
* design, construction, operation or maintenance of any nuclear facility.
*/
-package net.java.games.joal.eax;
+package com.jogamp.openal.eax;
import java.nio.Buffer;
diff --git a/src/java/net/java/games/joal/eax/EAXConstants.java b/src/java/com/jogamp/openal/eax/EAXConstants.java
index 44f1bee..106932d 100644
--- a/src/java/net/java/games/joal/eax/EAXConstants.java
+++ b/src/java/com/jogamp/openal/eax/EAXConstants.java
@@ -31,7 +31,7 @@
* design, construction, operation or maintenance of any nuclear facility.
*/
-package net.java.games.joal.eax;
+package com.jogamp.openal.eax;
/**
*
* This class implements the basic EAX extension constants.
diff --git a/src/java/net/java/games/joal/eax/EAXFactory.java b/src/java/com/jogamp/openal/eax/EAXFactory.java
index 0c47a2a..9aa2e9d 100644
--- a/src/java/net/java/games/joal/eax/EAXFactory.java
+++ b/src/java/com/jogamp/openal/eax/EAXFactory.java
@@ -31,7 +31,7 @@
* design, construction, operation or maintenance of any nuclear facility.
*/
-package net.java.games.joal.eax;
+package com.jogamp.openal.eax;
/**
* @author Athomas Goldberg
diff --git a/src/java/net/java/games/joal/impl/ALProcAddressLookup.java b/src/java/com/jogamp/openal/impl/ALProcAddressLookup.java
index e2a6425..1b6407a 100755
--- a/src/java/net/java/games/joal/impl/ALProcAddressLookup.java
+++ b/src/java/com/jogamp/openal/impl/ALProcAddressLookup.java
@@ -31,12 +31,15 @@
* design, construction, operation or maintenance of any nuclear facility.
*/
-package net.java.games.joal.impl;
+package com.jogamp.openal.impl;
import java.lang.reflect.Field;
-import net.java.games.joal.*;
+import com.jogamp.openal.*;
import com.jogamp.gluegen.runtime.*;
+import com.jogamp.openal.impl.ALCProcAddressTable;
+import com.jogamp.openal.impl.ALImpl;
+import com.jogamp.openal.impl.ALProcAddressTable;
/** Helper class for managing OpenAL-related proc address tables. */
diff --git a/src/java/net/java/games/joal/impl/NativeLibLoader.java b/src/java/com/jogamp/openal/impl/NativeLibLoader.java
index 4b81794..d4ac106 100755
--- a/src/java/net/java/games/joal/impl/NativeLibLoader.java
+++ b/src/java/com/jogamp/openal/impl/NativeLibLoader.java
@@ -34,7 +34,7 @@
* facility.
*/
-package net.java.games.joal.impl;
+package com.jogamp.openal.impl;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
diff --git a/src/java/net/java/games/sound3d/AudioSystem3D.java b/src/java/com/jogamp/openal/sound3d/AudioSystem3D.java
index 91fd45a..1070d21 100644
--- a/src/java/net/java/games/sound3d/AudioSystem3D.java
+++ b/src/java/com/jogamp/openal/sound3d/AudioSystem3D.java
@@ -31,11 +31,11 @@
* design, construction, operation or maintenance of any nuclear facility.
*/
-package net.java.games.sound3d;
+package com.jogamp.openal.sound3d;
-import net.java.games.joal.*;
-import net.java.games.joal.util.WAVData;
-import net.java.games.joal.util.WAVLoader;
+import com.jogamp.openal.*;
+import com.jogamp.openal.util.WAVData;
+import com.jogamp.openal.util.WAVLoader;
import java.io.*;
diff --git a/src/java/net/java/games/sound3d/Buffer.java b/src/java/com/jogamp/openal/sound3d/Buffer.java
index 97f67d2..54d120e 100644
--- a/src/java/net/java/games/sound3d/Buffer.java
+++ b/src/java/com/jogamp/openal/sound3d/Buffer.java
@@ -31,9 +31,9 @@
* design, construction, operation or maintenance of any nuclear facility.
*/
-package net.java.games.sound3d;
+package com.jogamp.openal.sound3d;
-import net.java.games.joal.AL;
+import com.jogamp.openal.AL;
import java.nio.ByteBuffer;
diff --git a/src/java/net/java/games/sound3d/Context.java b/src/java/com/jogamp/openal/sound3d/Context.java
index 49344cd..5562153 100644
--- a/src/java/net/java/games/sound3d/Context.java
+++ b/src/java/com/jogamp/openal/sound3d/Context.java
@@ -31,9 +31,9 @@
* design, construction, operation or maintenance of any nuclear facility.
*/
-package net.java.games.sound3d;
+package com.jogamp.openal.sound3d;
-import net.java.games.joal.*;
+import com.jogamp.openal.*;
/**
diff --git a/src/java/net/java/games/sound3d/Device.java b/src/java/com/jogamp/openal/sound3d/Device.java
index 96c352b..086d3ad 100644
--- a/src/java/net/java/games/sound3d/Device.java
+++ b/src/java/com/jogamp/openal/sound3d/Device.java
@@ -31,9 +31,9 @@
* design, construction, operation or maintenance of any nuclear facility.
*/
-package net.java.games.sound3d;
+package com.jogamp.openal.sound3d;
-import net.java.games.joal.*;
+import com.jogamp.openal.*;
/**
diff --git a/src/java/net/java/games/sound3d/Listener.java b/src/java/com/jogamp/openal/sound3d/Listener.java
index b25320c..fe8b869 100644
--- a/src/java/net/java/games/sound3d/Listener.java
+++ b/src/java/com/jogamp/openal/sound3d/Listener.java
@@ -31,9 +31,9 @@
* design, construction, operation or maintenance of any nuclear facility.
*/
-package net.java.games.sound3d;
+package com.jogamp.openal.sound3d;
-import net.java.games.joal.AL;
+import com.jogamp.openal.AL;
/**
diff --git a/src/java/net/java/games/sound3d/Source.java b/src/java/com/jogamp/openal/sound3d/Source.java
index f5655be..2e2f512 100644
--- a/src/java/net/java/games/sound3d/Source.java
+++ b/src/java/com/jogamp/openal/sound3d/Source.java
@@ -31,9 +31,9 @@
* design, construction, operation or maintenance of any nuclear facility.
*/
-package net.java.games.sound3d;
+package com.jogamp.openal.sound3d;
-import net.java.games.joal.AL;
+import com.jogamp.openal.AL;
/**
* This class is used to represent sound-producing objects in the Sound3D
diff --git a/src/java/net/java/games/sound3d/Vec3f.java b/src/java/com/jogamp/openal/sound3d/Vec3f.java
index 71b1d92..3a5aea2 100644
--- a/src/java/net/java/games/sound3d/Vec3f.java
+++ b/src/java/com/jogamp/openal/sound3d/Vec3f.java
@@ -31,7 +31,7 @@
* design, construction, operation or maintenance of any nuclear facility.
*/
-package net.java.games.sound3d;
+package com.jogamp.openal.sound3d;
/**
* A onvenience class representing a 3-element float vector
diff --git a/src/java/net/java/games/joal/util/ALut.java b/src/java/com/jogamp/openal/util/ALut.java
index 5d1746f..2db47d0 100644
--- a/src/java/net/java/games/joal/util/ALut.java
+++ b/src/java/com/jogamp/openal/util/ALut.java
@@ -33,14 +33,14 @@
* Created on Jun 27, 2003
*/
-package net.java.games.joal.util;
+package com.jogamp.openal.util;
import java.io.*;
import java.nio.ByteBuffer;
import javax.sound.sampled.UnsupportedAudioFileException;
-import net.java.games.joal.*;
+import com.jogamp.openal.*;
/**
* @author Athomas Goldberg
diff --git a/src/java/net/java/games/joal/util/BufferUtils.java b/src/java/com/jogamp/openal/util/BufferUtils.java
index 05de65a..74b0c78 100644
--- a/src/java/net/java/games/joal/util/BufferUtils.java
+++ b/src/java/com/jogamp/openal/util/BufferUtils.java
@@ -37,7 +37,7 @@
* and developed by Kenneth Bradley Russell and Christopher John Kline.
*/
-package net.java.games.joal.util;
+package com.jogamp.openal.util;
import java.nio.*;
import java.util.*;
diff --git a/src/java/net/java/games/joal/util/WAVData.java b/src/java/com/jogamp/openal/util/WAVData.java
index c0584e9..345c675 100644
--- a/src/java/net/java/games/joal/util/WAVData.java
+++ b/src/java/com/jogamp/openal/util/WAVData.java
@@ -31,7 +31,7 @@
* design, construction, operation or maintenance of any nuclear facility.
*/
-package net.java.games.joal.util;
+package com.jogamp.openal.util;
import java.nio.ByteBuffer;
diff --git a/src/java/net/java/games/joal/util/WAVLoader.java b/src/java/com/jogamp/openal/util/WAVLoader.java
index e7a5257..4ee2305 100644
--- a/src/java/net/java/games/joal/util/WAVLoader.java
+++ b/src/java/com/jogamp/openal/util/WAVLoader.java
@@ -31,14 +31,14 @@
* design, construction, operation or maintenance of any nuclear facility.
*/
-package net.java.games.joal.util;
+package com.jogamp.openal.util;
import java.io.*;
import java.nio.*;
import java.nio.channels.*;
import javax.sound.sampled.*;
-import net.java.games.joal.*;
+import com.jogamp.openal.*;
/**
* A Loader utility for (.wav) files. Creates a WAVData object containing the
diff --git a/test/build.xml b/test/build.xml
index 7b1f8e2..4445eb5 100644
--- a/test/build.xml
+++ b/test/build.xml
@@ -66,7 +66,7 @@
<pathelement location="classes"/>
</classpath>
<jvmarg value="-Djava.library.path=${basedir}/../build/obj"/>
- <arg value="net.java.games.joal.ALTest" />
+ <arg value="com.jogamp.openal.ALTest" />
</java>
</target>
diff --git a/test/src/net/java/games/joal/ALTest.java b/test/src/com/jogamp/openal/ALTest.java
index 7b25aa1..45b7995 100644
--- a/test/src/net/java/games/joal/ALTest.java
+++ b/test/src/com/jogamp/openal/ALTest.java
@@ -4,15 +4,14 @@
* Copyright 2003 Sun Microsystems, Inc. All rights reserved.
* SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*/
-package net.java.games.joal;
+package com.jogamp.openal;
import java.io.IOException;
-import java.nio.ByteBuffer;
import javax.sound.sampled.UnsupportedAudioFileException;
import junit.framework.TestCase;
-import net.java.games.joal.util.*;
+import com.jogamp.openal.util.*;
/**
* @author Athomas Goldberg
diff --git a/test/src/OpenALTest.java b/test/src/com/jogamp/openal/OpenALTest.java
index fb63a2f..7826899 100644
--- a/test/src/OpenALTest.java
+++ b/test/src/com/jogamp/openal/OpenALTest.java
@@ -1,3 +1,5 @@
+package com.jogamp.openal;
+
/**
* Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved.
*
@@ -33,9 +35,9 @@
import java.nio.*;
-import net.java.games.joal.*;
-import net.java.games.joal.eax.*;
-import net.java.games.joal.util.*;
+import com.jogamp.openal.*;
+import com.jogamp.openal.eax.*;
+import com.jogamp.openal.util.*;
/**
* @author Athomas Goldberg
diff --git a/test/src/Sound3DTest.java b/test/src/com/jogamp/openal/Sound3DTest.java
index f6a65a3..2cd2c11 100644
--- a/test/src/Sound3DTest.java
+++ b/test/src/com/jogamp/openal/Sound3DTest.java
@@ -1,3 +1,5 @@
+package com.jogamp.openal;
+
/**
* Copyright (c) 2003 Sun Microsystems, Inc. All Rights Reserved.
*
@@ -32,8 +34,7 @@
*/
import java.io.*;
import javax.sound.sampled.*;
-import net.java.games.joal.*;
-import net.java.games.sound3d.*;
+import com.jogamp.openal.sound3d.*;
/**
* @author Athomas Goldberg