|
|
@ -269,6 +269,7 @@ class Audio extends React.PureComponent { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
_initAudioContext () { |
|
|
|
_initAudioContext () { |
|
|
|
|
|
|
|
const AudioContext = window.AudioContext || window.webkitAudioContext; |
|
|
|
const context = new AudioContext(); |
|
|
|
const context = new AudioContext(); |
|
|
|
const source = context.createMediaElementSource(this.audio); |
|
|
|
const source = context.createMediaElementSource(this.audio); |
|
|
|
|
|
|
|
|
|
|
|