from panda3d.core import AudioLoadRequest
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.
__init__(audio_manager: AudioManager, filename: str, positional: bool)
Create a new
AudioLoadRequest, and add it to the loader via load_async(), to begin an asynchronous load.
getAudioManager() → AudioManager¶
getPositional() → bool¶
Returns the positional flag associated with this asynchronous
getSound() → AudioSound¶
Returns the sound that was loaded asynchronously, if any, or nullptr if there was an error. It is an error to call this unless