25 _audio_manager(audio_manager),
27 _positional(positional),
40 return _audio_manager;
86 nassertr(_is_ready, NULL);
bool get_positional() const
Returns the positional flag associated with this asynchronous AudioLoadRequest.
AudioSound * get_sound() const
Returns the sound that was loaded asynchronously, if any, or NULL if there was an error...
AudioManager * get_audio_manager() const
Returns the AudioManager that will serve this asynchronous AudioLoadRequest.
bool is_ready() const
Returns true if this request has completed, false if it is still pending.
const string & get_filename() const
Returns the filename associated with this asynchronous AudioLoadRequest.
AudioLoadRequest(AudioManager *audio_manager, const string &filename, bool positional)
Create a new AudioLoadRequest, and add it to the loader via load_async(), to begin an asynchronous lo...