API Docs for: 0.0.1
Show:

AudioResourceManager Class

Item Index

Methods

loadAudioResource

(
  • i_url
  • i_onload
)

Manages audio resource loading so that only resources are only loaded once, and are stored in buffers that multiple sounds (or polyphonic sounds) can then reference.

Parameters:

  • i_url String

    The url of the audio resource to be loaded

  • i_onload Function

    function to be called when loaded. Will be passed the buffer that the audio resource has been loaded in to.