Class AndroidALC
- All Implemented Interfaces:
- ALC
- 
Field SummaryFields inherited from interface com.jme3.audio.openal.ALCALC_ALL_ATTRIBUTES, ALC_ALL_DEVICES_SPECIFIER, ALC_ATTRIBUTES_SIZE, ALC_CAPTURE_DEFAULT_DEVICE_SPECIFIER, ALC_CAPTURE_DEVICE_SPECIFIER, ALC_CAPTURE_SAMPLES, ALC_CONNECTED, ALC_DEFAULT_ALL_DEVICES_SPECIFIER, ALC_DEFAULT_DEVICE_SPECIFIER, ALC_DEVICE_SPECIFIER, ALC_EXTENSIONS, ALC_INVALID_CONTEXT, ALC_INVALID_DEVICE, ALC_INVALID_ENUM, ALC_INVALID_VALUE, ALC_MAJOR_VERSION, ALC_MINOR_VERSION, ALC_NO_ERROR, ALC_OUT_OF_MEMORY
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidPauses a playback device.voidResumes playback of a paused device.voidalcGetInteger(int param, IntBuffer buffer, int size) Obtains integer value(s) from ALC.alcGetString(int parameter) Obtains string value(s) from ALC.booleanalcIsExtensionPresent(String extension) Verifies that a given extension is available for the current context and the device it is associated with.voidCreates an AL context.voidDestroys an AL context.booleanChecks of creating an AL context.
- 
Constructor Details- 
AndroidALCpublic AndroidALC()
 
- 
- 
Method Details- 
createALCpublic void createALC()Description copied from interface:ALCCreates an AL context.
- 
destroyALCpublic void destroyALC()Description copied from interface:ALCDestroys an AL context.- Specified by:
- destroyALCin interface- ALC
 
- 
isCreatedpublic boolean isCreated()Description copied from interface:ALCChecks of creating an AL context.
- 
alcGetStringDescription copied from interface:ALCObtains string value(s) from ALC.- Specified by:
- alcGetStringin interface- ALC
- Parameters:
- parameter- the information to query. One of:- DEFAULT_DEVICE_SPECIFIER- DEVICE_SPECIFIER- EXTENSIONS- CAPTURE_DEFAULT_DEVICE_SPECIFIER- CAPTURE_DEVICE_SPECIFIER
- Returns:
- the parameter value
 
- 
alcIsExtensionPresentDescription copied from interface:ALCVerifies that a given extension is available for the current context and the device it is associated with.Invalid and unsupported string tokens return ALC_FALSE. A NULLdeviceHandle is acceptable.extNameis not case sensitive – the implementation will convert the name to all upper-case internally (and will express extension names in upper-case).- Specified by:
- alcIsExtensionPresentin interface- ALC
- Parameters:
- extension- the extension name.
- Returns:
- true if the extension is available, otherwise false
 
- 
alcGetIntegerDescription copied from interface:ALCObtains integer value(s) from ALC.- Specified by:
- alcGetIntegerin interface- ALC
- Parameters:
- param- the information to query. One of:- MAJOR_VERSION- MINOR_VERSION- ATTRIBUTES_SIZE- ALL_ATTRIBUTES- CAPTURE_SAMPLES
- buffer- the destination buffer.
- size- the buffer size.
 
- 
alcDevicePauseSOFTpublic void alcDevicePauseSOFT()Description copied from interface:ALCPauses a playback device.When paused, no contexts associated with the device will be processed or updated. Playing sources will not produce sound, have their offsets incremented, or process any more buffers, until the device is resumed. Pausing a device that is already paused is a legal no-op. - Specified by:
- alcDevicePauseSOFTin interface- ALC
 
- 
alcDeviceResumeSOFTpublic void alcDeviceResumeSOFT()Description copied from interface:ALCResumes playback of a paused device.This will restart processing on the device -- sources will resume playing sound as normal. Resuming playback on a device that is not paused is a legal no-op. These functions are not reference counted. alcDeviceResumeSOFT only needs to be called once to resume playback, regardless of how many times DevicePauseSOFTwas called.- Specified by:
- alcDeviceResumeSOFTin interface- ALC
 
 
-