Fix tests on node 6

This commit is contained in:
DD committed 2018-02-23 16:49:29 -05:00
1 parent 12b47ddf86
commit 44ce6df59e
1 file changed
+1 -1
+1 -1
View File
@@ -92,7 +92,7 @@ class SoundEditor extends React.Component {
this.props.onUpdateSoundBuffer(
this.props.soundIndex,
this.audioBufferPlayer.buffer,
(new Uint8Array(wavBuffer)));
wavBuffer ? new Uint8Array(wavBuffer) : new Uint8Array());
}
handlePlay () {
this.audioBufferPlayer.play(