japj / node-sdlmixer

sdlmixer addon for nodejs

Home Page:http://github.com/japj/node-sdlmixer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

new api to load sounds before play

japj opened this issue · comments

currently the play api actually will load (+"parse" the sound) from disk and then start playing.

if you want to play the same sound often, it makes more sense to actually load it first and have it 'parsed' only once.