Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (11 sloc) 543 Bytes
(slightly random order)
*) api based on
var play = require("<addon>");
play.sound(<filepath>", onCompletionCallback);
*) Use Mix_ChannelFinished to handle play sound done
*) track multiple channels playing and their callbacks
*) check proper way to initialise SDL api (once?) during import?
*) how to cleanup addon?
*) how to deal with async loading of the audio data within this addon through SDL?
Something went wrong with that request. Please try again.