|
JOAL v2.6.0-rc-20250712
JOAL, OpenAL® API Binding for Java (public API).
|
A Loader utility for (.wav) files. More...
Static Public Member Functions | |
| static WAVData | loadFromFile (final String filename) throws ALException, IOException |
| This method loads a (.wav) file into a WAVData object. More... | |
| static WAVData | loadFromStream (final InputStream stream) throws ALException, IOException |
| This method loads a (.wav) file into a WAVData object. More... | |
A Loader utility for (.wav) files.
Creates a WAVData object containing the data used by the AL.alBufferData method.
Definition at line 51 of file WAVLoader.java.
|
static |
This method loads a (.wav) file into a WAVData object.
| filename | The name of the (.wav) file |
| ALException | if the format of the audio if not supported. |
| IOException | If the file can no be found or some other IO error occurs |
Definition at line 64 of file WAVLoader.java.
|
static |
This method loads a (.wav) file into a WAVData object.
| stream | An InputStream for the .WAV stream. |
| ALException | if the format of the audio if not supported. |
| IOException | If the file can no be found or some other IO error occurs |
Definition at line 81 of file WAVLoader.java.