mirror of
https://github.com/scratchfoundation/scratch-audio.git
synced 2024-12-22 05:53:43 -05:00
12 lines
285 B
JavaScript
12 lines
285 B
JavaScript
const AudioContextMock = require('./AudioContext');
|
|
const AudioTargetMock = require('./AudioTarget');
|
|
|
|
class AudioEngineMock extends AudioTargetMock {
|
|
constructor () {
|
|
super();
|
|
|
|
this.audioContext = new AudioContextMock();
|
|
}
|
|
}
|
|
|
|
module.exports = AudioEngineMock;
|