i am trying to lear openal using java, lwjgl actually, cannot seem to get the following to compile which i think is just some introductary basic code:
import net.java.games.joal.;
import net.java.games.joal.util.;
import java.io.*;
import java.nio.ByteBuffer;
public class Sound {
static AL al = ALFactory.getAL();
// Buffers hold sound data.
static int[] buffer = new int[1];;
// Sources are points emitting sound.
static int[] source = new int[1];
}
i get:
--------------------Configuration: JDK version 1.5.0_01 --------------------
C:\Documents and Settings\Danny\Desktop\Version2.0.13\Version2.0.7\Version2.0.5\Version2.0.5\Sound.java:1: package net.java.games.joal does not exist
import net.java.games.joal.;
^
C:\Documents and Settings\Danny\Desktop\Version2.0.13\Version2.0.7\Version2.0.5\Version2.0.5\Sound.java:2: package net.java.games.joal.util does not exist
import net.java.games.joal.util.;
^
C:\Documents and Settings\Danny\Desktop\Version2.0.13\Version2.0.7\Version2.0.5\Version2.0.5\Sound.java:8: cannot find symbol
symbol : class AL
location: class Sound
static AL al = ALFactory.getAL();
^
C:\Documents and Settings\Danny\Desktop\Version2.0.13\Version2.0.7\Version2.0.5\Version2.0.5\Sound.java:8: cannot find symbol
symbol : variable ALFactory
location: class Sound
static AL al = ALFactory.getAL();
^
4 errors
Process completed.
any ideas, i’m sorry but i am a total newbie