scratch-audio/test/__mocks__/AudioParam.js

14 lines
278 B
JavaScript
Raw Normal View History

2018-06-07 22:17:05 -04:00
class AudioParamMock {
setTargetAtTime (value /* , start, stop */) {
this.value = value;
}
setValueAtTime (value) {
this.value = value;
}
linearRampToValueAtTime (value) {
this.value = value;
}
2018-06-07 22:17:05 -04:00
}
module.exports = AudioParamMock;