Package com.jogamp.openal.sound3d
Class Device
- java.lang.Object
-
- com.jogamp.openal.sound3d.Device
-
public class Device extends Object
This class provides a handle to a specific audio device.- Author:
- Athomas Goldberg
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()closes the device, freeing its resources.ALCdevicegetALDevice()Returns the OpenAL context.booleanisValid()Returns whethergetALDevice()is valid, i.e.
-
-
-
Method Detail
-
getALDevice
public ALCdevice getALDevice()
Returns the OpenAL context.
-
isValid
public boolean isValid()
Returns whethergetALDevice()is valid, i.e. not null, e.g. notclose().
-
close
public void close()
closes the device, freeing its resources.
-
-