Music field editor (#529)

Music fiele editor
This commit is contained in:
Sam El-Husseini
2018-04-17 22:16:19 -07:00
committed by GitHub
parent 989699c620
commit 83700b4e14
7 changed files with 354 additions and 10 deletions

View File

@ -21,12 +21,7 @@ namespace pxsim.SoundMethods {
}
export function stop() {
return new Promise<void>(resolve => {
if (audio) {
audio.pause();
}
resolve();
})
pxsim.AudioContextManager.stop();
}
}