Class: SoundLoader

SoundLoader

Sound middleware installation utilities for PIXI.Loader

new SoundLoader

Sound middleware installation utilities for PIXI.Loader

Implements

  • ILoaderPlugin

Methods

SoundLoader.add () void static

Install the middleware

SoundLoader.pre (resource, next) void static

Handle the preprocessing of file paths

Name Type Description
resource ILoaderResource
next () => void

SoundLoader.setLegacy (legacy) void static

Set the legacy mode

Name Type Description
legacy boolean

Non-webaudio environments

SoundLoader.use (resource, next) void static

Actual resource-loader middleware for sound class

Name Type Description
resource ILoaderResource
next () => void