MCPcopy Index your code
hub / github.com/Externalizable/bongo.cat / successLoadAudioFile

Function successLoadAudioFile

js/lowLag.js:234–239  ·  view source on GitHub ↗
(buffer)

Source from the content-addressed store, hash-verified

232 request.send();
233
234 function successLoadAudioFile (buffer) {
235 lowLag.audioBuffers[tag] = buffer;
236 if(lowLag.audioContextPendingRequest[tag]){ //a request might have come in, try playing it now
237 lowLag.playSoundAudioContext(tag);
238 }
239 }
240
241 function errorLoadAudioFile (e){
242 lowLag.msg("Error loading webkit/chrome audio: "+e);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected