Package com.jme3.audio.openal
Class ALAudioRenderer
java.lang.Object
com.jme3.audio.openal.ALAudioRenderer
- All Implemented Interfaces:
- AudioRenderer,- Runnable
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcleanup()Cleanup/destroy the audio system.voidvoiddeleteFilter(Filter filter) floatvoidInitializes the renderer.voidpauseAll()Pauses all Playing audio.voidpauseSource(AudioSource src) voidplaySource(AudioSource src) voidvoidResumes all audio paused byAudioRenderer.pauseAll().voidrun()voidSets the environment, used for reverb effects.voidsetListener(Listener listener) voidstopSource(AudioSource src) voidupdate(float tpf) Update the audio system.voidupdateInDecoderThread(float tpf) voidupdateInRenderThread(float tpf) voidupdateListenerParam(Listener listener, ListenerParam param) voidupdateSourceParam(AudioSource src, AudioParam param) 
- 
Constructor Details- 
ALAudioRenderer
 
- 
- 
Method Details- 
initializepublic void initialize()Description copied from interface:AudioRendererInitializes the renderer. Should be the first method called before using the system.- Specified by:
- initializein interface- AudioRenderer
 
- 
runpublic void run()
- 
cleanuppublic void cleanup()Description copied from interface:AudioRendererCleanup/destroy the audio system. Call this when app closes.- Specified by:
- cleanupin interface- AudioRenderer
 
- 
getSourcePlaybackTime- Specified by:
- getSourcePlaybackTimein interface- AudioRenderer
 
- 
updateSourceParam- Specified by:
- updateSourceParamin interface- AudioRenderer
 
- 
updateListenerParam- Specified by:
- updateListenerParamin interface- AudioRenderer
 
- 
setEnvironmentDescription copied from interface:AudioRendererSets the environment, used for reverb effects.- Specified by:
- setEnvironmentin interface- AudioRenderer
- Parameters:
- env- The environment to set.
- See Also:
 
- 
updatepublic void update(float tpf) Description copied from interface:AudioRendererUpdate the audio system. Must be called periodically.- Specified by:
- updatein interface- AudioRenderer
- Parameters:
- tpf- Time per frame.
 
- 
updateInRenderThreadpublic void updateInRenderThread(float tpf) 
- 
updateInDecoderThreadpublic void updateInDecoderThread(float tpf) 
- 
setListener- Specified by:
- setListenerin interface- AudioRenderer
- Parameters:
- listener- The listener camera, all 3D sounds will be oriented around the listener.
 
- 
pauseAllpublic void pauseAll()Description copied from interface:AudioRendererPauses all Playing audio. To be used when the app is placed in the background.- Specified by:
- pauseAllin interface- AudioRenderer
 
- 
resumeAllpublic void resumeAll()Description copied from interface:AudioRendererResumes all audio paused byAudioRenderer.pauseAll(). To be used when the app is brought back to the foreground.- Specified by:
- resumeAllin interface- AudioRenderer
 
- 
playSourceInstance- Specified by:
- playSourceInstancein interface- AudioRenderer
 
- 
playSource- Specified by:
- playSourcein interface- AudioRenderer
 
- 
pauseSource- Specified by:
- pauseSourcein interface- AudioRenderer
 
- 
stopSource- Specified by:
- stopSourcein interface- AudioRenderer
 
- 
deleteFilter- Specified by:
- deleteFilterin interface- AudioRenderer
 
- 
deleteAudioData- Specified by:
- deleteAudioDatain interface- AudioRenderer
 
 
-