Get or set the SoundEngine that is used to load and play sounds.
The engine is automatically detected based on the best engine supported
by the browser. It is possible to override the detected engine with a
different one. Setting the engine to null
will switch back to the
automatically detected engine.
Source
static SoundEngine get engine { _initEngine(); return _engineOverride ?? _engineDetected; }
Source
static set engine(SoundEngine value) { _engineOverride = value; _initEngine(); }