JOAL v2.6.0-rc-20250712
JOAL, OpenAL® API Binding for Java™ (public API).
com.jogamp.openal.util.ALut Class Reference
Collaboration diagram for com.jogamp.openal.util.ALut:

Static Public Member Functions

static synchronized void alutInit () throws ALException
 Initializes the OpenAL Utility Toolkit, creates an OpenAL context and makes it current on the current thread. More...
 
static synchronized void alutExit () throws ALException
 Shuts down the OpenAL Utility Toolkit; releases and destroys the internal OpenAL context and closes the output device. More...
 
static void alutLoadWAVFile (final String fileName, final int[] format, final ByteBuffer[] data, final int[] size, final int[] freq, final int[] loop) throws ALException
 
static void alutLoadWAVFile (InputStream stream, final int[] format, final ByteBuffer[] data, final int[] size, final int[] freq, final int[] loop) throws ALException
 

Detailed Description

Author
Athomas Goldberg

Definition at line 47 of file ALut.java.

Member Function Documentation

◆ alutExit()

static synchronized void com.jogamp.openal.util.ALut.alutExit ( ) throws ALException
static

Shuts down the OpenAL Utility Toolkit; releases and destroys the internal OpenAL context and closes the output device.

Must be called from the same thread as alutInit(). Most applications should not need to call this; only those which wish to toggle sound on / off at run time by initializing and un-initializing OpenAL need to call it.

Definition at line 94 of file ALut.java.

Here is the call graph for this function:

◆ alutInit()

static synchronized void com.jogamp.openal.util.ALut.alutInit ( ) throws ALException
static

Initializes the OpenAL Utility Toolkit, creates an OpenAL context and makes it current on the current thread.

The ALut may only be initialized on one thread at any given time.

Definition at line 59 of file ALut.java.

Here is the call graph for this function:

◆ alutLoadWAVFile() [1/2]

static void com.jogamp.openal.util.ALut.alutLoadWAVFile ( final String  fileName,
final int[]  format,
final ByteBuffer[]  data,
final int[]  size,
final int[]  freq,
final int[]  loop 
) throws ALException
static

Definition at line 106 of file ALut.java.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ alutLoadWAVFile() [2/2]

static void com.jogamp.openal.util.ALut.alutLoadWAVFile ( InputStream  stream,
final int[]  format,
final ByteBuffer[]  data,
final int[]  size,
final int[]  freq,
final int[]  loop 
) throws ALException
static

Definition at line 124 of file ALut.java.

Here is the call graph for this function:

The documentation for this class was generated from the following file: