|
JOAL v2.6.0-rc-20250706
JOAL, OpenAL® API Binding for Java (public API).
|
This class provides a handle to a specific audio device. More...
Public Member Functions | |
| Device (final String deviceName) | |
Create a new device by open()'ing the named audio device. More... | |
| String | getName () |
| Returns the device name. More... | |
| ALCdevice | getALDevice () |
Returns the OpenAL ALCdevice. More... | |
| int | getALCError () |
Return ALC#alcGetError(ALCdevice). More... | |
| boolean | isValid () |
Returns whether getALDevice() is open and valid, i.e. More... | |
| boolean | isDebugAvail () |
Returns whether ALC_EXT_debug is available for this device. More... | |
| boolean | open () |
| Opens the device if not yet opened. More... | |
| void | close () |
| closes the device, freeing its resources. More... | |
| String | toString () |
This class provides a handle to a specific audio device.
Definition at line 46 of file Device.java.
| com.jogamp.openal.sound3d.Device.Device | ( | final String | deviceName | ) |
Create a new device by open()'ing the named audio device.
| deviceName | The specified device name, null for default. |
Definition at line 55 of file Device.java.
| void com.jogamp.openal.sound3d.Device.close | ( | ) |
closes the device, freeing its resources.
Definition at line 105 of file Device.java.
| int com.jogamp.openal.sound3d.Device.getALCError | ( | ) |
Return ALC#alcGetError(ALCdevice).
Definition at line 68 of file Device.java.
| ALCdevice com.jogamp.openal.sound3d.Device.getALDevice | ( | ) |
Returns the OpenAL ALCdevice.
Definition at line 65 of file Device.java.
| String com.jogamp.openal.sound3d.Device.getName | ( | ) |
Returns the device name.
Definition at line 62 of file Device.java.
| boolean com.jogamp.openal.sound3d.Device.isDebugAvail | ( | ) |
Returns whether ALC_EXT_debug is available for this device.
This context may or may not be current.
Definition at line 82 of file Device.java.
| boolean com.jogamp.openal.sound3d.Device.isValid | ( | ) |
Returns whether getALDevice() is open and valid, i.e.
not null, e.g. not close().
Definition at line 73 of file Device.java.
| boolean com.jogamp.openal.sound3d.Device.open | ( | ) |
Opens the device if not yet opened.
Definition at line 92 of file Device.java.
| String com.jogamp.openal.sound3d.Device.toString | ( | ) |
Definition at line 113 of file Device.java.