MCPcopy
hub / github.com/goldfire/howler.js / setParams

Function setParams

src/howler.core.js:838–844  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

836
837 // Update the parameters of the sound.
838 var setParams = function() {
839 sound._paused = false;
840 sound._seek = seek;
841 sound._start = start;
842 sound._stop = stop;
843 sound._loop = !!(sound._loop || self._sprite[sprite][2]);
844 };
845
846 // End the sound instantly if seek is at the end.
847 if (seek >= stop) {

Callers 2

playWebAudioFunction · 0.85
playHtml5Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected