mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-03-08 13:37:55 -05:00
13 lines
No EOL
211 B
JavaScript
13 lines
No EOL
211 B
JavaScript
function AudioWorker () {
|
|
|
|
}
|
|
|
|
AudioWorker.prototype.playSound = function (soundNum) {
|
|
self.postMessage({
|
|
type: 'audio',
|
|
method: 'playSound',
|
|
value: soundNum
|
|
});
|
|
};
|
|
|
|
module.exports = AudioWorker; |