aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/alcbind.c
diff options
context:
space:
mode:
authorathomas <[email protected]>2003-11-22 08:13:37 +0000
committerathomas <[email protected]>2003-11-22 08:13:37 +0000
commit83f203ef182647aa69c549b1e6b720f5af8739d0 (patch)
tree12e4120363e3b662f59eda5822f44e443981f4fb /src/native/alcbind.c
parent5c9159edaa04a772df6a43afb4892649d203d367 (diff)
updated navbar
git-svn-id: file:///home/mbien/NetBeansProjects/JOGAMP/joal-sync/git-svn/../svn-server-sync/joal/trunk@63 03bf7f67-59de-4072-a415-9a990d468a3f
Diffstat (limited to 'src/native/alcbind.c')
-rw-r--r--src/native/alcbind.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/native/alcbind.c b/src/native/alcbind.c
index c34e72f..48c1404 100644
--- a/src/native/alcbind.c
+++ b/src/native/alcbind.c
@@ -49,13 +49,16 @@ JNIEXPORT jint JNICALL Java_net_java_games_joal_ALCImpl_openDeviceNative
ALubyte *str;
ALCdevice *device;
if(deviceName != NULL) {
+ printf("In openDeviceNative() test 2a.1\n");
str = (ALubyte*)(*env)->GetStringUTFChars(env,deviceName,NULL);
+ printf("In openDeviceNative() test 2a.2 -- %i\n", *alcOpenDevice);
device = alcOpenDevice(str);
- printf("In openDeviceNative() test 2a -- %s - %i\n", str, (jint)device);
+ printf("In openDeviceNative() test 2a.3 -- %s - %i\n", str, (jint)device);
(*env)->ReleaseStringUTFChars(env,deviceName,str);
} else {
- device = alcOpenDevice(NULL);
- printf("In openDeviceNative() test 2b -- NULL - %i\n", (jint)device);
+ printf("In openDeviceNative() test 2b.1\n");
+ device = alcOpenDevice(NULL);
+ printf("In openDeviceNative() test 2b.2 -- NULL - %i\n", (jint)device);
}
result = (jint)device;
printf("In openDeviceNative() test 3\n");