AudioLoadRequest
from panda3d.core import AudioLoadRequest
- class AudioLoadRequest
Bases:
AsyncTask
A class object that manages a single asynchronous audio load request. This works in conjunction with the Loader class defined in pgraph, or really with any AsyncTaskManager. Create a new AudioLoadRequest, and add it to the loader via load_async(), to begin an asynchronous load.
Inheritance diagram
- __init__(*args, **kwargs)
- getAudioManager()
C++ Interface: get_audio_manager(AudioLoadRequest self)
- /**
Returns the AudioManager that will serve this asynchronous
AudioLoadRequest.
*/
- getClassType()
C++ Interface: get_class_type()
- getFilename()
C++ Interface: get_filename(AudioLoadRequest self)
- /**
Returns the filename associated with this asynchronous AudioLoadRequest.
*/
- getPositional()
C++ Interface: get_positional(AudioLoadRequest self)
- /**
Returns the positional flag associated with this asynchronous
AudioLoadRequest.
*/
- getSound()
C++ Interface: get_sound(AudioLoadRequest self)
- /**
Returns the sound that was loaded asynchronously, if any, or nullptr if
there was an error. It is an error to call this unless done() returns
true.
@deprecated Use result() instead.
*/
- get_audio_manager()
C++ Interface: get_audio_manager(AudioLoadRequest self)
- /**
Returns the AudioManager that will serve this asynchronous
AudioLoadRequest.
*/
- get_class_type()
C++ Interface: get_class_type()
- get_filename()
C++ Interface: get_filename(AudioLoadRequest self)
- /**
Returns the filename associated with this asynchronous AudioLoadRequest.
*/
- get_positional()
C++ Interface: get_positional(AudioLoadRequest self)
- /**
Returns the positional flag associated with this asynchronous
AudioLoadRequest.
*/
- get_sound()
C++ Interface: get_sound(AudioLoadRequest self)
- /**
Returns the sound that was loaded asynchronously, if any, or nullptr if
there was an error. It is an error to call this unless done() returns
true.
@deprecated Use result() instead.
*/