Interface: IMedia

IMedia

Interface represents either a WebAudio source or an HTML5 AudioElement source

Properties:
Name Type Description
context IMediaContext

Reference to the context.

duration number

Length of sound in seconds.

filters filters.Filter[]

Collection of global filters

isPlayable boolean

Flag to check if sound is currently playable (e.g., has been loaded/decoded).

Members

context IMediaContext readonly

Reference to the context.

duration number readonly

Length of sound in seconds.

filters filters.Filter[]

Collection of global filters

isPlayable boolean readonly

Flag to check if sound is currently playable (e.g., has been loaded/decoded).