Fix tests on node 6
This commit is contained in:
1 parent
12b47ddf86
commit
44ce6df59e
1 file changed
+1
-1
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user